NAME

Teng::Schema - Schema API for Teng

METHODS

$schema = Teng::Schema->new

create new Teng::Schema's object.

$schema = Teng::Schema->instance

get Teng::Schema's instance object.

Teng::Schema->set_default_instance($schema)

set default Schema instance.

$schema->add_table($table);

add Teng::Schema::Table's object.

my $table = $schema->get_table($table_name);

get Teng::Schema::Table's object.

my $row_class = $schema->get_row_class($table_name);

get your table row class or Teng::Row class.

$schema->camelize($string)

convert from under_score text to CamelCase one.