tiny.sql.LifecycleReadOpened
Defined in lifecycle.
API (8)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/sql/src/lifecycle.zig:255
zig
pub const ReadOpened = struct { allocator: Allocator, workspace: *Workspace, workspace_owned: bool = false, file: *file_mod.ReadOnlyDatabase, catalog: catalog_mod.Reader, head: version.Hash, root: version.Hash, pub fn deinit(self: *ReadOpened) void { const allocator = self.allocator; const workspace = self.workspace; const workspace_owned = self.workspace_owned; self.file.deinit(); self.allocator.destroy(self.file); if (workspace_owned) { workspace.deallocate(allocator); allocator.destroy(workspace); } self.* = undefined; }};Source: lib/sql/src/root.zig:92
zig
pub const LifecycleReadOpened = lifecycle.ReadOpened;Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 7 |
| Version | 26.7.0 |
| Revision | daab053ee433 |