DB::Object::Query - Query Object
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 );
This is version 0.6
Copyright (c) 2000-2019 DEGUEST Pte. Ltd.
Jacques Deguest <jack@deguest.jp>
Net::API::Telegram
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.
To install DB::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DB::Object
CPAN shell
perl -MCPAN -e shell install DB::Object
For more information on module installation, please visit the detailed CPAN module installation guide.