Skip to content

Commit ca079ca

Browse files
committed
TODO
1 parent 0873474 commit ca079ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GRDB/Core/Database+Schema.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ extension Database {
8585
/// same database file, your application may need to call this method in
8686
/// order to avoid undesired consequences.
8787
public func clearSchemaCache() {
88+
// TODO: can't we automatically clear the cache for writer connection,
89+
// just as we do for DatabasePool reader connections?
90+
8891
SchedulingWatchdog.preconditionValidQueue(self)
8992
schemaCache.clear()
9093

0 commit comments

Comments
 (0)