NAME

Doodle::Command

ABSTRACT

Doodle Command Class

SYNOPSIS

use Doodle;
use Doodle::Command;
use Doodle::Table;

my $ddl = Doodle->new;

my $table = Doodle::Table->new(
  name => 'users',
  doodle => $ddl
);

my $self = Doodle::Command->new(
  name => 'create_table',
  table => $table,
  doodle => $ddl
);

DESCRIPTION

This package provides a description of a DDL statement to build.

LIBRARIES

This package uses type constraints from:

Doodle::Library

ATTRIBUTES

This package has the following attributes:

columns

columns(Columns)

This attribute is read-only, accepts (Columns) values, and is optional.

data

data(Data)

This attribute is read-only, accepts (Data) values, and is optional.

doodle

doodle(Doodle)

This attribute is read-only, accepts (Doodle) values, and is required.

indices

indices(Indices)

This attribute is read-only, accepts (Indices) values, and is optional.

name

name(Any)

This attribute is read-only, accepts (Any) values, and is optional.

relation

relation(Relation)

This attribute is read-only, accepts (Relation) values, and is optional.

schema

schema(Maybe[Schema])

This attribute is read-only, accepts (Maybe[Schema]) values, and is optional.

table

table(Table)

This attribute is read-only, accepts (Table) values, and is optional.

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

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".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues