mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 06:08:38 -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 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 (?)");
|
||||
|
||||
# Binary_data will be stored as is.
|
||||
|
|
Loading…
Add table
Reference in a new issue