Skip to documentation
SLOP

tiny.sql.Snapshot

Reference tiny.sql Snapshot

Defined in store.

API (4)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callsstoreSnapshot
Static calls · unresolved targets: unknown · external targets: unknown.

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;
Called byCallsNo direct callersStoregetAtSnapshotget
Static calls · unresolved targets: 0 · external targets: 2.
Called byCallsNo direct callersStorerangeAtSnapshotrange
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions3
Public names6
Members2
Version26.7.0
Revisiondaab053ee433