listTables method

  1. @override
Future<List<SchemaTable>> listTables({
  1. String? schema,
})
override

Lists all user tables on the connection, optionally filtered by schema.

Implementation

@override
Future<List<SchemaTable>> listTables({String? schema}) async => snapshot
    .tables
    .where((table) => schema == null || table.schema == schema)
    .toList(growable: false);