DBX::Connection - abstracts a connection to a data source
use DBX; $conn = DBX->mysql("database=test;host=localhost;", "", ""); $rs = $conn->query("SELECT * FROM test");
DBX::Connection currently provides only one method
query runs SQL on its data source. If HOW is DBX_CURSOR_FORWARD, the returned recordset will only move forward. If HOW is DBX_CURSOR_RANDOM, the returned recordset will be navigable in any direction. However, random-access cursors use considerably more memory and processor time than forward-only cursors.
query
If the SQL statement contains argument placeholders, the DBI will fill them in with SQL_PARMS.
Requires DBX and all of its dependencies
DBI, DBX, DBX::Recordset
Bill Atkins, <dbxNOSPAM@batkins.com>
Copyright 2003 by Bill Atkins
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBX
CPAN shell
perl -MCPAN -e shell install DBX
For more information on module installation, please visit the detailed CPAN module installation guide.