tiny.sql.CatalogRelationStats
Defined in catalog.
API (6)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/sql/src/catalog.zig:151
zig
pub const RelationStats = struct { allocator: Allocator, table_root_page: u32, table: tree.Summary, indexes: []IndexStats, pub fn deinit(self: *RelationStats) void { for (self.indexes) |*index_stats| { self.allocator.free(index_stats.name); freeIndexDistribution(self.allocator, index_stats.distribution); } self.allocator.free(self.indexes); self.* = undefined; } pub fn index(self: *const RelationStats, name: []const u8) ?*const IndexStats { for (self.indexes) |*index_stats| { if (std.mem.eql(u8, index_stats.name, name)) return index_stats; } return null; }};Source: lib/sql/src/root.zig:72
zig
pub const CatalogRelationStats = catalog.RelationStats;Audit
| Definitions | 3 |
|---|---|
| Public names | 6 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |