mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
use func to support older DBI
This commit is contained in:
parent
198ae95635
commit
998847196d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ use Test::NoWarnings;
|
||||||
|
|
||||||
my $dbh = connect_ok(sqlite_trace => 2);
|
my $dbh = connect_ok(sqlite_trace => 2);
|
||||||
# register the module and declare the virtual table
|
# register the module and declare the virtual table
|
||||||
$dbh->sqlite_create_module(perl => "DBD::SQLite::VirtualTable::PerlData");
|
$dbh->func(perl => "DBD::SQLite::VirtualTable::PerlData", 'create_module');
|
||||||
|
|
||||||
# create a table, reference_values, with 2 columns
|
# create a table, reference_values, with 2 columns
|
||||||
# ref_value - a text column which will have strings and numeric data (as text)
|
# ref_value - a text column which will have strings and numeric data (as text)
|
||||||
|
|
Loading…
Add table
Reference in a new issue