aboutsummaryrefslogtreecommitdiff
path: root/doc/manual.xhtml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-09-06 14:36:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-09-06 14:36:20 +0200
commit62106fba0abbb890833778036406cac345d5ca20 (patch)
tree0e74efcd6ed1a4ffe6cace907394fd7a55fae2db /doc/manual.xhtml
parent6d0c7119137749ca31b3d66406c6a270fbbb5fc2 (diff)
Add ability to specify SQLite vfs module in database constructor
Diffstat (limited to 'doc/manual.xhtml')
-rw-r--r--doc/manual.xhtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/manual.xhtml b/doc/manual.xhtml
index adcc45a..26d9d38 100644
--- a/doc/manual.xhtml
+++ b/doc/manual.xhtml
@@ -13982,6 +13982,7 @@ namespace odb
database (const std::string&amp; name,
int flags = SQLITE_OPEN_READWRITE,
bool foreign_keys = true,
+ const std::string&amp; vfs = "",
std::[auto|unique]_ptr&lt;connection_factory> = 0);
database (int&amp; argc,
@@ -13989,6 +13990,7 @@ namespace odb
bool erase = false,
int flags = SQLITE_OPEN_READWRITE,
bool foreign_keys = true,
+ const std::string&amp; vfs = "",
std::[auto|unique]_ptr&lt;connection_factory> = 0);
static void
@@ -14031,7 +14033,11 @@ namespace odb
argument specifies whether foreign key constraints checking
should be enabled. See <a href="#14.5.3">Section 14.5.3,
"Foreign Key Constraints"</a> for more information on foreign
- keys.</p>
+ keys. The <code>vfs</code> argument specifies the SQLite
+ virtual file system module that should be used to access the
+ database. If this argument is empty, then the default vfs module
+ is used. Again, refer to the <code>sqlite3_open_v2()</code> function
+ documentation for detail.</p>
<p>The following example shows how we can open the <code>test.db</code>
database in the read-write mode and create it if it does not exist:</p>