Type Definition mysql_async_support_model::ResultSetTyped [−][src]
type ResultSetTyped = ResultSet<TypedValues>;
Expand description
ResultSet
with typed values.
This is used for arbitrary queries received as input, so the types of the
values are under the Value
enum.
Note
- You must use prepared statements if you want types to be returned,
otherwise it is always returned as
Value::Bytes
- There must be only one statement in the query – i.e. no multiple selects.
- Not sure if nested select statements work.
However, I haven’t managed to get MySQL to return Value
s with proper
return types.
See: