The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Doodle::Statement

ABSTRACT

Doodle Statement Class

SYNOPSIS

  use Doodle;
  use Doodle::Statement;

  my $ddl = Doodle->new;

  my $command = Doodle::Command->new(
    name => 'create_schema',
    schema => $ddl->schema('app'),
    doodle => $ddl
  );

  my $self = Doodle::Statement->new(
    cmd => $command,
    sql => 'create schema app'
  );

DESCRIPTION

This package provides command objects and DDL statements produced by grammars.

LIBRARIES

This package uses type constraints from:

Doodle::Library

ATTRIBUTES

This package has the following attributes:

cmd

  cmd(Command)

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

sql

  sql(Str)

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

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