mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
DBD-SQLite: oops, pod for sqlite_enable_load_extension was placed in a wrong section
This commit is contained in:
parent
bcefc3c6c9
commit
1dd4b666b4
1 changed files with 8 additions and 8 deletions
|
@ -792,6 +792,14 @@ special :memory: database, and you wish to populate it from an existing DB.
|
||||||
This method accesses the SQLite Online Backup API, and will take a backup of
|
This method accesses the SQLite Online Backup API, and will take a backup of
|
||||||
the currently connected database, and write it out to the named file.
|
the currently connected database, and write it out to the named file.
|
||||||
|
|
||||||
|
=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 BLOBS
|
=head1 BLOBS
|
||||||
|
|
||||||
As of version 1.11, blobs should "just work" in SQLite as text columns.
|
As of version 1.11, blobs should "just work" in SQLite as text columns.
|
||||||
|
@ -817,14 +825,6 @@ 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue