Documentation

This commit is contained in:
Gwendal Roué committed 2016-02-09 08:27:03 +01:00
1 parent 24668267e8
commit 48ad154079
1 file changed
+5
+5
View File
@@ -596,6 +596,11 @@ extension Database {
public func clearSchemaCache() {
preconditionValidQueue()
primaryKeyCache = [:]
// We do clear updateStatementCache and selectStatementCache despite
// the automatic statement recompilation (see https://www.sqlite.org/c3ref/prepare.html)
// because the automatic statement recompilation only happens a
// limited number of times.
updateStatementCache = [:]
selectStatementCache = [:]
}