tiny.sql.Snapshot
Defined in store.
API (4)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/sql/src/store.zig:147
zig
pub const Snapshot = struct { store: *const Store, generation: u64, pub fn get(self: Snapshot, key: []const u8) ?[]const u8 { const phase = trace.scope("snapshot.get"); defer phase.end(); return self.store.getAt(key, self.generation); } pub fn range(self: Snapshot, start: ?[]const u8, end: ?[]const u8) Error!Range { return self.store.rangeAt(start, end, self.generation); }};Source: lib/sql/src/root.zig:52
zig
pub const Snapshot = store.Snapshot;Audit
| Definitions | 3 |
|---|---|
| Public names | 6 |
| Members | 2 |
| Version | 26.7.0 |
| Revision | daab053ee433 |