Doodle::Column
Doodle Column Class
use Doodle; use Doodle::Column; use Doodle::Table; my $ddl = Doodle->new; my $table = Doodle::Table->new( name => 'users', doodle => $ddl ); my $self = Doodle::Column->new( name => 'id', table => $table, doodle => $ddl );
This package provides table column representation.
This package integrates behaviors from:
Doodle::Column::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)
name(Str)
This attribute is read-only, accepts (Str) values, and is required.
(Str)
table(Table)
This attribute is read-only, accepts (Table) values, and is required.
(Table)
type(Str)
This attribute is read-only, accepts (Str) values, and is optional.
This package implements the following methods:
create(Any %args) : Command
Registers a column create and returns the Command object.
# given: synopsis my $create = $self->create;
delete(Any %args) : Command
Registers a column delete and returns the Command object.
# given: synopsis my $delete = $self->delete;
doodle() : Doodle
Returns the associated Doodle object.
# given: synopsis my $doodle = $self->doodle;
rename(Any %args) : Command
Registers a column rename and returns the Command object.
# given: synopsis my $rename = $self->rename('uuid');
update(Any %args) : Command
Registers a column update and returns the Command object.
# given: synopsis my $update = $self->update;
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.