catalogForeignKeys method

Uint8List? catalogForeignKeys(
  1. int connectionId,
  2. String table, {
  3. int? initialBufferBytes,
  4. int? maxBufferBytes,
})
inherited

Queries the database catalog for foreign key information.

Implementation

Uint8List? catalogForeignKeys(
  int connectionId,
  String table, {
  int? initialBufferBytes,
  int? maxBufferBytes,
}) {
  return _withSql(
    table,
    (tablePtr) => callWithBuffer(
      (buf, bufLen, outWritten) => _bindings.odbc_catalog_foreign_keys(
        connectionId,
        tablePtr,
        buf,
        bufLen,
        outWritten,
      ),
      initialSize: initialBufferBytes,
      maxSize: maxBufferBytes,
    ),
  );
}