NAME
DB::Object::Query - Query Object
SYNOPSIS
my $dbh = DB::Object->connect({
driver => 'Pg',
conf_file => 'db-settings.json',
database => 'webstore',
host => 'localhost',
login => 'store-admin',
schema => 'auth',
debug => 3,
}) || bailout( "Unable to connect to sql server on host localhost: ", DB::Object->error );
my $tbl = $dbh->users || die( "No table users found\n" );
# The query object is automatically instantiated
$tbl->where( $tbl->fo->username => 'bob' );
my $q = $tbl->query_object;
# Or
my $q = DB::Object::Postgres::Query->new;
# Set the table object
$q->table_object( $tbl );
VERSION
This is version v0.4.4
DESCRIPTION
METHODS
COPYRIGHT
Copyright (c) 2000-2019 DEGUEST Pte. Ltd.
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
COPYRIGHT & LICENSE
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.