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

NAME

Doodle::Helpers

ABSTRACT

Doodle Command Helpers

SYNOPSIS

  use Doodle;

  # consumes Doodle::Helpers

  my $self = Doodle->new;

  my $command = $self->schema_create;

DESCRIPTION

Helpers for configuring Commands.

LIBRARIES

This package uses type constraints from:

Doodle::Library

METHODS

This package implements the following methods:

column_create

  column_create(Any %args) : Command

Registers a column create and returns the Command object.

column_create example #1
  # given: synopsis

  my %args; # (..., column => $column)

  $command = $self->column_create(%args);

column_delete

  column_delete(Any %args) : Command

Registers a column delete and returns the Command object.

column_delete example #1
  # given: synopsis

  my %args; # (..., column => $column)

  $command = $self->column_delete(%args);

column_rename

  column_rename(Any %args) : Command

Registers a column rename and returns the Command object.

column_rename example #1
  # given: synopsis

  my %args; # (..., column => $column)

  $command = $self->column_rename(%args);

column_update

  column_update(Any %args) : Command

Registers a column update and returns the Command object.

column_update example #1
  # given: synopsis

  my %args; # (..., column => $column)

  $command = $self->column_update(%args);

index_create

  index_create(Any %args) : Command

Registers a index create and returns the Command object.

index_create example #1
  # given: synopsis

  my %args; # (..., index => $index)

  $command = $self->index_create(%args);

index_delete

  index_delete(Any %args) : Command

Register and return an index_delete command.

index_delete example #1
  # given: synopsis

  my %args; # (..., index => $index)

  $command = $self->index_delete(%args);

relation_create

  relation_create(Any %args) : Command

Registers a relation create and returns the Command object.

relation_create example #1
  # given: synopsis

  my %args; # (..., relation => $relation)

  $command = $self->relation_create(%args);

relation_delete

  relation_delete(Any %args) : Command

Registers a relation delete and returns the Command object.

relation_delete example #1
  # given: synopsis

  my %args; # (..., relation => $relation)

  $command = $self->relation_delete(%args);

schema_create

  schema_create(Any %args) : Command

Registers a schema create and returns the Command object.

schema_create example #1
  # given: synopsis

  my %args; # (..., schema => $schema)

  $command = $self->schema_create(%args);

schema_delete

  schema_delete(Any %args) : Command

Registers a schema delete and returns the Command object.

schema_delete example #1
  # given: synopsis

  my %args; # (..., schema => $schema)

  $command = $self->schema_delete(%args);

table_create

  table_create(Any %args) : Command

Registers a table create and returns the Command object.

table_create example #1
  # given: synopsis

  my %args; # (..., table => $table)

  $command = $self->table_create(%args);

table_delete

  table_delete(Any %args) : Command

Registers a table delete and returns the Command object.

table_delete example #1
  # given: synopsis

  my %args; # (..., table => $table)

  $command = $self->table_delete(%args);

table_rename

  table_rename(Any %args) : Command

Registers a table rename and returns the Command object.

table_rename example #1
  # given: synopsis

  my %args; # (..., table => $table)

  $command = $self->table_rename(%args);

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