PreparedQuery constructor

PreparedQuery(
  1. PrepareHandler handler
)

Implementation

PreparedQuery(PrepareHandler handler)
    : sql = handler.sql,
      parameterCount = handler.parameters.length,
      columns =
          List.from(handler.columns.where((element) => element != null)),
      statementHandlerId = handler.okPacket.statementHandlerId;