From 3ac67fb63eec3534046fe2eb72bc2d37aca1cd98 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Sep 2012 12:12:06 +0200 Subject: Add support for alternative UTF-16 image for TEXT in SQLite Use it to handle QString and support std::wstring on Windows. --- doc/manual.xhtml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/manual.xhtml b/doc/manual.xhtml index a9be249..8438ff8 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -13901,6 +13901,12 @@ class object TEXT NOT NULL + + + std::wstring (Windows only) + TEXT + NOT NULL +

SQLite represents the NaN FLOAT value @@ -14030,8 +14036,8 @@ namespace odb header file to make this class available in your application.

The first constructor opens the specified SQLite database. The - name argument is the database file - name to open. If this argument is empty, then a temporary, + name argument is the database file name to open in + the UTF-8 encoding. If this argument is empty, then a temporary, on-disk database is created. If this argument is the :memory: special value, then a temporary, in-memory database is created. The flags argument allows us to @@ -14058,8 +14064,8 @@ auto_ptr<odb::database> db (

The second constructor is the same as the first except that the database - name is passes as std::wstring. This constructor is only - available when compiling for Windows.

+ name is passes as std::wstring in the UTF-16 encoding. This + constructor is only available when compiling for Windows.

The third constructor extracts the database parameters from the command line. The following options are recognized:

-- cgit v1.1