Contains all rows returned by the database and some more information
QueryResult::rows()
or a similar function called on a bad QueryResult.QueryResult.rows
to be Some
, but it was None
.QueryResult.rows
is Some
for queries that can return rows (e.g SELECT
).None
for queries that can’t return rows (e.g INSERT
).QueryResult::result_not_rows()
called on a bad QueryResult.QueryResult.rows
to be None
, but it was Some
.QueryResult.rows
is Some
for queries that can return rows (e.g SELECT
).None
for queries that can’t return rows (e.g INSERT
).