mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
TODO
This commit is contained in:
1 parent
0873474a17
commit
ca079cab17
1 file changed
+3
@@ -85,6 +85,9 @@ extension Database {
|
||||
/// same database file, your application may need to call this method in
|
||||
/// order to avoid undesired consequences.
|
||||
public func clearSchemaCache() {
|
||||
// TODO: can't we automatically clear the cache for writer connection,
|
||||
// just as we do for DatabasePool reader connections?
|
||||
|
||||
SchedulingWatchdog.preconditionValidQueue(self)
|
||||
schemaCache.clear()
|
||||
|
||||
|
||||
Reference in new issue
Block a user