1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00

DBD-SQLite: added enable_load_extension pod

This commit is contained in:
Kenichi Ishigaki 2009-05-06 09:17:06 +00:00
parent 1fd9dbb921
commit 4c501a2751

View file

@ -783,6 +783,14 @@ And then retrieval just works:
# now $blobo == $blob # now $blobo == $blob
=head2 $dbh->sqlite_enable_load_extension( $bool )
Calling this method with a true value enables loading (external) sqlite3 extensions. After the call, you can load extensions like this:
$dbh->sqlite_enable_load_extension(1);
$sth = $dbh->prepare("select load_extension('libsqlitefunctions.so')")
or die "Cannot prepare: " . $dbh->errstr();
=head1 NOTES =head1 NOTES
Although the database is stored in a single file, the directory containing the Although the database is stored in a single file, the directory containing the