diff options
author | Nicolas Cornu <ncornu@aldebaran-robotics.com> | 2013-11-28 00:06:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-30 20:26:21 +0100 |
commit | 9de879c8a43a012254036d7f08b55793fa325cb2 (patch) | |
tree | 7c7e0ba8426726c177c504b69ce697d4cf8f1e41 /src/sql/doc | |
parent | f3e220d4c2383f3f20eb60f260cf40308a98ec00 (diff) |
Allow temporary databases in sqlite driver
http://www3.sqlite.org/inmemorydb.html#temp_db
[ChangeLog][QtSql][QSQLITE] Enable creating temporary databases
Change-Id: I9972fba5c91eca55cfc5a84f94cff03d19992324
Reviewed-by: Tobias Koenig <tobias.koenig.qnx@kdab.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/sql/doc')
-rw-r--r-- | src/sql/doc/src/sql-driver.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/doc/src/sql-driver.qdoc b/src/sql/doc/src/sql-driver.qdoc index d8d10582f6..82dfa27e46 100644 --- a/src/sql/doc/src/sql-driver.qdoc +++ b/src/sql/doc/src/sql-driver.qdoc @@ -599,8 +599,8 @@ is not necessary to have a database server. SQLite operates on a single file, which must be set as the database name when opening a connection. If the file does not exist, SQLite will try to - create it. SQLite also supports in-memory databases, simply pass - ":memory:" as the database name. + create it. SQLite also supports in-memory and temporary databases. Simply + pass respectively ":memory:" or an empty string as the database name. SQLite has some restrictions regarding multiple users and multiple transactions. If you try to read/write on a resource from different |