prepared method
Implementation
Future<StreamedResults> prepared(String sql, Iterable values) async {
var prepared;
try {
prepared = await (_socket.execHandler(PrepareHandler(sql), _timeout));
var handler = ExecuteQueryHandler(prepared, false, values as List<dynamic>);
return _socket.execResultHandler(handler, _timeout);
} catch (e) {
if (prepared != null) {
await _socket.execHandlerNoResponse(CloseStatementHandler(prepared.statementHandlerId), _timeout);
}
rethrow;
}
}