catalogTables method
Returns catalog tables for connectionId (optional catalog and
schema). Returns binary result or null on error.
Implementation
Future<Uint8List?> catalogTables(
int connectionId, {
String catalog = '',
String schema = '',
}) async {
final r = await _sendRequest<QueryResponse>(
CatalogTablesRequest(
_nextRequestId(),
connectionId,
catalog: catalog,
schema: schema,
),
);
if (r.error != null) return null;
return r.data;
}