1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

use func to support older DBI

This commit is contained in:
Kenichi Ishigaki 2018-10-13 17:48:20 +09:00
parent 198ae95635
commit 998847196d

View file

@ -12,7 +12,7 @@ use Test::NoWarnings;
my $dbh = connect_ok(sqlite_trace => 2);
# 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
# ref_value - a text column which will have strings and numeric data (as text)