Skip to content

Commit 34ac213

Browse files
committed
Moved function comment.
1 parent b196ab3 commit 34ac213

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/sqlite_async/lib/src/sqlite_connection.dart

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ abstract class SqliteConnection extends SqliteWriteContext {
130130

131131
Future<void> close();
132132

133+
/// Ensures that all connections are aware of the latest schema changes applied (if any).
134+
/// Queries and watch calls can potentially use outdated schema information after a schema update.
133135
Future<void> refreshSchema();
134136

135137
/// Returns true if the connection is closed

packages/sqlite_async/lib/src/sqlite_queries.dart

-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ mixin SqliteQueries implements SqliteWriteContext, SqliteConnection {
138138
});
139139
}
140140

141-
/// Ensures that all connections are aware of the latest schema changes applied (if any).
142-
/// Queries and watch calls can potentially use outdated schema information after a schema update.
143141
@override
144142
Future<void> refreshSchema() {
145143
return get("PRAGMA table_info('sqlite_master')");

0 commit comments

Comments
 (0)