Doodle::Schema
Doodle Schema Class
use Doodle; use Doodle::Schema; my $ddl = Doodle->new; my $self = Doodle::Schema->new( name => 'app', doodle => $ddl );
This package provides a representation of a database.
This package integrates behaviors from:
Doodle::Schema::Helpers
This package uses type constraints from:
Doodle::Library
This package has the following attributes:
data(Data)
This attribute is read-only, accepts (Data) values, and is optional.
(Data)
doodle(Doodle)
This attribute is read-only, accepts (Doodle) values, and is required.
(Doodle)
name(Str)
This attribute is read-only, accepts (Str) values, and is required.
(Str)
temporary(Bool)
This attribute is read-only, accepts (Bool) values, and is optional.
(Bool)
This package implements the following methods:
create(Any %args) : Command
Registers a schema create and returns the Command object.
# given: synopsis my $create = $self->create;
delete(Any %args) : Command
Registers a schema delete and returns the Command object.
# given: synopsis my $delete = $self->delete;
table(Str $name, Any @args) : Table
Returns a new Table object.
# given: synopsis my $table = $self->table('users');
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Doodle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Doodle
CPAN shell
perl -MCPAN -e shell install Doodle
For more information on module installation, please visit the detailed CPAN module installation guide.