catalogTables method
Uint8List?
catalogTables(
- int connectionId, {
- String catalog = '',
- String schema = '',
- int? initialBufferBytes,
- int? maxBufferBytes,
inherited
Queries the database catalog for table information.
The connectionId must be a valid active connection.
The catalog and schema parameters filter results.
Empty strings match all values.
Returns binary result data on success, null on failure.
Implementation
Uint8List? catalogTables(
int connectionId, {
String catalog = '',
String schema = '',
int? initialBufferBytes,
int? maxBufferBytes,
}) {
return _withUtf8Pair(
catalog,
schema,
(cPtr, sPtr) => _withConn(
connectionId,
(conn) => callWithBuffer(
(buf, bufLen, outWritten) => _bindings.odbc_catalog_tables(
conn,
cPtr,
sPtr,
buf,
bufLen,
outWritten,
),
initialSize: initialBufferBytes,
maxSize: maxBufferBytes,
),
),
);
}