mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Documentation
This commit is contained in:
1 parent
24668267e8
commit
48ad154079
1 file changed
+5
@@ -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 = [:]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user