tiny.sql.ConnectionRelationView
Defined in connection.
API (6)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/sql/src/connection.zig:74
zig
pub const RelationView = struct { allocator: Allocator, root: version.RelationRoot, handle: ?catalog_mod.RelationHandle = null, rows: []version.RelationRow = &.{}, pub fn snapshot(self: *const RelationView) diff_mod.RelationSnapshot { return .{ .root = &self.root, .rows = if (self.handle) |*handle| .{ .live = handle } else .{ .materialized = self.rows }, }; } pub fn deinit(self: *RelationView) void { self.root.deinit(); if (self.handle) |*handle| handle.deinit(); version.freeRelationRows(self.allocator, self.rows); self.* = undefined; }};Source: lib/sql/src/root.zig:82
zig
pub const ConnectionRelationView = connection.RelationView;Audit
| Definitions | 3 |
|---|---|
| Public names | 6 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |