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.
ExpectedQueryResult.rows
to beSome
, but it wasNone
.
QueryResult.rows
isSome
for queries that can return rows (e.gSELECT
).
It isNone
for queries that can’t return rows (e.gINSERT
).QueryResult::result_not_rows()
called on a bad QueryResult.
ExpectedQueryResult.rows
to beNone
, but it wasSome
.
QueryResult.rows
isSome
for queries that can return rows (e.gSELECT
).
It isNone
for queries that can’t return rows (e.gINSERT
).