diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-10 12:12:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-10 12:12:06 +0200 |
commit | 3ac67fb63eec3534046fe2eb72bc2d37aca1cd98 (patch) | |
tree | 8d5938b6666fc5387286effa905562f11124220b /doc/manual.xhtml | |
parent | 275245dfefd73f5e4e81e46637ade03315408fb6 (diff) |
Add support for alternative UTF-16 image for TEXT in SQLite
Use it to handle QString and support std::wstring on Windows.
Diffstat (limited to 'doc/manual.xhtml')
-rw-r--r-- | doc/manual.xhtml | 14 |
1 files changed, 10 insertions, 4 deletions
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 <td><code>TEXT</code></td> <td><code>NOT NULL</code></td> </tr> + + <tr> + <td><code>std::wstring (Windows only)</code></td> + <td><code>TEXT</code></td> + <td><code>NOT NULL</code></td> + </tr> </table> <p>SQLite represents the <code>NaN</code> <code>FLOAT</code> value @@ -14030,8 +14036,8 @@ namespace odb header file to make this class available in your application.</p> <p>The first constructor opens the specified SQLite database. The - <code>name</code> argument is the database file - name to open. If this argument is empty, then a temporary, + <code>name</code> 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 <code>:memory:</code> special value, then a temporary, in-memory database is created. The <code>flags</code> argument allows us to @@ -14058,8 +14064,8 @@ auto_ptr<odb::database> db ( </pre> <p>The second constructor is the same as the first except that the database - name is passes as <code>std::wstring</code>. This constructor is only - available when compiling for Windows.</p> + name is passes as <code>std::wstring</code> in the UTF-16 encoding. This + constructor is only available when compiling for Windows.</p> <p>The third constructor extracts the database parameters from the command line. The following options are recognized:</p> |