1
0
Fork 0
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:
Kenichi Ishigaki 2021-07-30 23:11:48 +09:00
parent 43225fd7eb
commit 0a455850e8

View file

@ -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.