NAME
Doodle::Table
ABSTRACT
Doodle Table Class
SYNOPSIS
use Doodle::Table;
my $self = Doodle::Table->new(
name => 'users'
);
DESCRIPTION
Database table representation.
METHODS
This package implements the following methods.
column
column(Str $name, Any @args) : Column
Returns a new Column object.
create
create(Any %args) : Command
Registers a table create and returns the Command object.
delete
delete(Any %args) : Command
Registers a table delete and returns the Command object.
index
index(ArrayRef :$columns, Any %args) : Index
Returns a new Index object.
relation
relation(Str $column, Str $ftable, Str $fcolumn, Any %args) : Relation
Returns a new Relation object.
rename
rename(Any %args) : Command
Registers a table rename and returns the Command object.
update
update(Any %args) : Command
Registers a table update and returns the Command object.