mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
Fix doc that uses string_mode without the sqlite_ prefix (#86)
This commit is contained in:
parent
43225fd7eb
commit
0a455850e8
1 changed files with 1 additions and 1 deletions
|
@ -1655,7 +1655,7 @@ updates:
|
||||||
|
|
||||||
use DBI qw(:sql_types);
|
use DBI qw(:sql_types);
|
||||||
use DBD::SQLite::Constants ':dbd_sqlite_string_mode';
|
use DBD::SQLite::Constants ':dbd_sqlite_string_mode';
|
||||||
$dbh->{string_mode} = DBD_SQLITE_STRING_MODE_UNICODE_FALLBACK;
|
$dbh->{sqlite_string_mode} = DBD_SQLITE_STRING_MODE_UNICODE_FALLBACK;
|
||||||
my $sth = $dbh->prepare("INSERT INTO mytable (blobcolumn) VALUES (?)");
|
my $sth = $dbh->prepare("INSERT INTO mytable (blobcolumn) VALUES (?)");
|
||||||
|
|
||||||
# Binary_data will be stored as is.
|
# Binary_data will be stored as is.
|
||||||
|
|
Loading…
Add table
Reference in a new issue