++ed by:

2 non-PAUSE users.

Al Newkirk

NAME

Doodle::Column

ABSTRACT

Doodle Column Class

SYNOPSIS

  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
  );

DESCRIPTION

This package provides table column representation.

INTEGRATES

This package integrates behaviors from:

Doodle::Column::Helpers

LIBRARIES

This package uses type constraints from:

Doodle::Library

ATTRIBUTES

This package has the following attributes:

data

  data(Data)

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

name

  name(Str)

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

table

  table(Table)

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

type

  type(Str)

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

METHODS

This package implements the following methods:

create

  create(Any %args) : Command

Registers a column create and returns the Command object.

create example #1
  # given: synopsis

  my $create = $self->create;

delete

  delete(Any %args) : Command

Registers a column delete and returns the Command object.

delete example #1
  # given: synopsis

  my $delete = $self->delete;

doodle

  doodle() : Doodle

Returns the associated Doodle object.

doodle example #1
  # given: synopsis

  my $doodle = $self->doodle;

rename

  rename(Any %args) : Command

Registers a column rename and returns the Command object.

rename example #1
  # given: synopsis

  my $rename = $self->rename('uuid');

update

  update(Any %args) : Command

Registers a column update and returns the Command object.

update example #1
  # given: synopsis

  my $update = $self->update;

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