NAME
Doodle::Schema
ABSTRACT
Doodle Schema Class
SYNOPSIS
use Doodle;
use Doodle::Schema;
my $ddl = Doodle->new;
my $self = Doodle::Schema->new(
name => 'app',
doodle => $ddl
);
DESCRIPTION
This package provides a representation of a database.
INTEGRATES
This package integrates behaviors from:
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
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.
name
name(Str)
This attribute is read-only, accepts (Str)
values, and is required.
temporary
temporary(Bool)
This attribute is read-only, accepts (Bool)
values, and is optional.
METHODS
This package implements the following methods:
create
create(Any %args) : Command
Registers a schema create and returns the Command object.
delete
delete(Any %args) : Command
Registers a schema delete and returns the Command object.
table
table(Str $name, Any @args) : Table
Returns a new Table object.
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".