| DBIx::Thin::Driver - A base class for database driver |
DBIx::Thin::Driver - A base class for database driver
Creates an instance.
create(%args)Returns an instance of DBIx::Thin::Driver's sub-class.
ARGUMENTS
dsn: Datasource username: username password: password connect_options: other options dbh: Database handle (OPTIONAL)
connect($args)Connects to your database with DBI->connect. After connect(), you can call execute_update, execute_select, etc...
Returns this driver itself.
connection_info()Get/Set DBI connection_info.
Returns dbh. If you haven't called 'connect', this method calls 'connect' automatically.
Executes a query for selection.
ARGUMENTS sql : query to be executed bind : bind parameters (ARRAYREF)
Executes a query for updating. (INSERT, UPDATE, DELETE)
ARGUMENTS sql : query to be executed bind : bind parameters (ARRAYREF)
Returns id of last inserted row.
Returns unixtime. The default implementation is just calling `time()' in perl.
Interface for inserting multi rows.
| DBIx::Thin::Driver - A base class for database driver |