execute method

Future<IResultSet> execute(
  1. List params
)

Executes this prepared statement with given params

Implementation

Future<IResultSet> execute(List<dynamic> params) async {
  if (numOfParams != params.length) {
    throw MySQLClientException(
      "Can not execute prepared stmt: number of passed params != number of prepared params",
    );
  }

  return _connection._executePreparedStmt(this, params, _iterable);
}