executeQueryParams method
Uint8List?
executeQueryParams(
- int connectionId,
- String sql,
- List<
ParamValue> params, { - int? maxBufferBytes,
Executes a SQL query with parameters.
Convenience method that combines prepare and execute in a single call.
The connectionId must be a valid active connection.
The sql should be a parameterized SQL statement.
The params list should contain ParamValue instances for each '?'
placeholder in sql, in order.
When maxBufferBytes is set, caps the result buffer size.
Returns binary result data on success, null on failure.
Implementation
Uint8List? executeQueryParams(
int connectionId,
String sql,
List<ParamValue> params, {
int? maxBufferBytes,
}) =>
_native.execQueryParamsTyped(connectionId, sql, params,
maxBufferBytes: maxBufferBytes,);