getLocalTableNames method
Fetches the names of all tables that are not in notIn
.
Implementation
@override
Statement getLocalTableNames([List<String> notIn = const []]) {
final ignore = [...metaTables];
ignore.addAll(notIn);
final tables = '''
SELECT name FROM sqlite_master
WHERE type = 'table' AND
name NOT IN (${ignore.map((_) => '?').join(',')})
''';
return Statement(
tables,
ignore,
);
}