tiny.sql.StatementResult
Defined in tiny.sql.
API (7)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/sql/src/statement/result.zig:188
zig
pub const Result = union(enum) { mutation: session_mod.RelationFlush, staged: usize, catalog: session_mod.CatalogFlush, rows: Rows, pub fn deinit(self: *Result, allocator: Allocator) void { _ = allocator; switch (self.*) { .mutation => {}, .staged => {}, .catalog => {}, .rows => |*rows| rows.deinit(), } self.* = undefined; } pub fn nextRow(self: *Result) ?[]const u8 { return switch (self.*) { .mutation => null, .staged => null, .catalog => null, .rows => |*rows| rows.next(), }; } pub fn rowCount(self: *const Result) usize { return switch (self.*) { .mutation => 0, .staged => 0, .catalog => 0, .rows => |*rows| rows.count(), }; }};Source: lib/sql/src/root.zig:177
zig
pub const StatementResult = statement.Result;Also reachable as
Audit
| Definitions | 4 |
|---|---|
| Public names | 8 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |