NAME

ObjectDB::SQL - SQL factory for ObjectDB

SYNOPSIS

my $sql = ObjectDB::SQL->build('select');

$sql = ObjectDB::SQL->build('insert');
$sql->table('foo');
$sql->columns([qw/a b c/]);
$sql->bind([qw/a b c/]);

DESCRIPTION

This an SQL factory for ObjectDB.

METHODS

build

Returns a new instance of ObjectDB::SQL::Select, ObjectDB::SQL::Insert, ObjectDB::SQL::Update or ObjectDB::SQL::Delete.

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tykhanovskyi.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.