refreshSchema method

  1. @override
Future<void> refreshSchema()
override

Ensures that all connections are aware of the latest schema changes applied (if any). Queries and watch calls can potentially use outdated schema information after a schema update.

Implementation

@override
Future<void> refreshSchema() {
  return getAll("PRAGMA table_info('sqlite_master')");
}