aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/globalobject.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/declarative/globalobject.qdoc')
-rw-r--r--doc/src/declarative/globalobject.qdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/declarative/globalobject.qdoc b/doc/src/declarative/globalobject.qdoc
index 85a3a259d5..5847001819 100644
--- a/doc/src/declarative/globalobject.qdoc
+++ b/doc/src/declarative/globalobject.qdoc
@@ -128,6 +128,8 @@ These databases are user-specific and QML-specific, but accessible to all QML ap
They are stored in the \c Databases subdirectory
of QDeclarativeEngine::offlineStoragePath(), currently as SQLite databases.
+Database connections are automatically closed during Javascript garbage collection.
+
The API can be used from JavaScript functions in your QML:
\snippet declarative/sqllocalstorage/hello.qml 0