executeQueryMultiParams method

Uint8List? executeQueryMultiParams(
  1. int connectionId,
  2. String sql,
  3. Uint8List? paramsBuffer, {
  4. int? maxBufferBytes,
  5. int? initialBufferBytes,
  6. int fetchSize = 0,
})
inherited

Executes a parameterised batch SQL that may return multiple result sets.

See OdbcNative.execQueryMultiParams for the full contract. paramsBuffer is the output of serializeParams(...).

Implementation

Uint8List? executeQueryMultiParams(
  int connectionId,
  String sql,
  Uint8List? paramsBuffer, {
  int? maxBufferBytes,
  int? initialBufferBytes,
  int fetchSize = 0,
}) =>
    _captureSync(
      'executeQueryMultiParams',
      () => _native.execQueryMultiParams(
        connectionId,
        sql,
        paramsBuffer,
        maxBufferBytes: maxBufferBytes,
        initialBufferBytes: initialBufferBytes,
        fetchSize: fetchSize,
      ),
      failed: (value) => value == null,
      nativeConnectionId: connectionId,
    );