The rows of one statement. Strings and byte slices that get returns point into the result,
and arrays and numerics it builds belong to it: all stay valid until free_result.
Fields
- columns: [] Column
- row_count: s64
- command: string
- The command tag ("SELECT 3", "INSERT 0 1", "UPDATE 7", "CREATE TABLE") and the row count in it (0 when it has none).
- rows_affected: s64
- returns_rows: bool
- The statement returns rows (it sent a row description), even if there were none or it has
no columns:
selectreturns one row of zero columns. - partial: bool
- More rows of the same statement follow (
Script_Hooks.chunk_rows);commandis not set yet. - values: [..] Value_Span
- row_count * columns.count of them, row by row
- data: [..] u8
- json_options: Json_Options
- for
Json(T)columns; the connection's to begin with - json_query: Json_Options
- the query's own (
json = ...on a typed query), overjson_options - allocations: [..] *void
- allocator: Allocator
- context.allocator when the query ran: it owns everything above