catalogPrimaryKeys method

Future<Uint8List?> catalogPrimaryKeys(
  1. int connectionId,
  2. String table, {
  3. int? initialBufferBytes,
  4. int? maxBufferBytes,
})
inherited

Implementation

Future<Uint8List?> catalogPrimaryKeys(
  int connectionId,
  String table, {
  int? initialBufferBytes,
  int? maxBufferBytes,
}) async {
  final r = await _sendRequest<QueryResponse>(
    CatalogPrimaryKeysRequest(
      _nextRequestId(),
      connectionId,
      table,
      initialBufferBytes: initialBufferBytes,
      maxBufferBytes: maxBufferBytes,
    ),
  );
  if (r.error != null) return null;
  return r.data;
}