Module scylla::transport::query_result
source · [−]Structs
Result of a single query
Contains all rows returned by the database and some more information
QueryResult::rows()
or a similar function called on a bad QueryResult.
Expected QueryResult.rows
to be Some
, but it was None
.
QueryResult.rows
is Some
for queries that can return rows (e.g SELECT
).
It is None
for queries that can’t return rows (e.g INSERT
).
QueryResult::result_not_rows()
called on a bad QueryResult.
Expected QueryResult.rows
to be None
, but it was Some
.
QueryResult.rows
is Some
for queries that can return rows (e.g SELECT
).
It is None
for queries that can’t return rows (e.g INSERT
).