DBIx::Custom::SQLite - DEPRECATED!
This module is deprecated now because This module is less useful than I expected. Please use DBIx::Custom instead.>
use DBIx::Custom::SQLite; # Connect to the database my $dbi = DBIx::Custom::SQLite->connect(database => 'dbname'); # Connect to the memory database my $dbi = DBIx::Custom::SQLite->connect_memory; # Get last insert row id my $id = $dbi->last_insert_rowid;
DBIx::Custom::SQLite inherits all attributes from DBIx::Custom and implements the following new ones.
database
my $database = $dbi->database; $dbi = $dbi->database('dbname');
Database name. connect() method use this value to connect the database if data_source is not specified.
connect()
data_source
DBIx::Custom::SQLite inherits all methods from DBIx::Custom and implements the following new ones.
connect
my $dbi = DBIx::Custom::SQLite->connect(database => 'dbname');
Create a new DBIx::Custom::SQLite object and connect to the database. This method overrides DBIx::Custom::connect() method. You can specify all attributes of DBIx::Custom and DBIx::Custom::SQLite, such as database.
DBIx::Custom::connect()
connect_memory
my $dbi = DBIx::Custom::SQLite->connect_memory;
Create a new DBIx::Custom::SQLite object and connect to the memory database.
To install DBIx::Custom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Custom
CPAN shell
perl -MCPAN -e shell install DBIx::Custom
For more information on module installation, please visit the detailed CPAN module installation guide.