tiny.sql.RowView
Defined in row.
API (10)
Actions
Public operations.
columncolumnCountcomparecursor: Returns a cursor that opens a traversal of this row at its first column, so a caller reading more than one column of the row walks the header once.initproject
Fields and members
Public fields and members.
Source
Source: lib/sql/src/row.zig:331
zig
pub const View = struct { bytes: []const u8, header_len: usize, header_start: usize, count: usize, pub fn init(bytes: []const u8) Error!View { const header = try readVarint(bytes); if (header.value > std.math.maxInt(usize)) return error.RowTooLarge; const header_len: usize = @intCast(header.value); if (header_len < header.len or header_len > bytes.len) return error.InvalidRow; var header_cursor = header.len; var body_len: usize = 0; var count: usize = 0; while (header_cursor < header_len) { const serial = try readVarint(bytes[header_cursor..header_len]); const size = try serialBodySize(serial.value); body_len = try checkedAdd(body_len, size); header_cursor += serial.len; count += 1; } if (header_cursor != header_len) return error.InvalidRow; if (body_len > bytes.len - header_len) return error.InvalidRow; return .{ .bytes = bytes, .header_len = header_len, .header_start = header.len, .count = count, }; } pub fn columnCount(self: View) usize { return self.count; } /// Returns a cursor that opens a traversal of this row at its first column, /// so a caller reading more than one column of the row walks the header /// once. The cursor carries the two offsets the traversal needs and calls /// no allocator. The cursor reads the row's borrowed bytes as it goes, so /// those bytes stay unchanged while the cursor is in use. pub fn cursor(self: View) Cursor { return .{ .view = self, .header_offset = self.header_start, .body_offset = self.header_len, }; } pub fn column(self: View, index: usize) Error!Value { var reader = self.cursor(); return reader.column(index); } pub fn project(self: View, indexes: []const usize, target: []Value) Error![]Value { if (target.len < indexes.len) return error.OutputTooSmall; var reader = self.cursor(); for (indexes, 0..) |index, ordinal| { target[ordinal] = try reader.column(index); } return target[0..indexes.len]; } pub fn compare(self: View, other: View, columns: []const Column) Error!std.math.Order { const count = @max(self.count, other.count); var left_cursor = self.cursor(); var right_cursor = other.cursor(); var index: usize = 0; while (index < count) : (index += 1) { const left: Value = if (index < self.count) try left_cursor.column(index) else .nil; const right: Value = if (index < other.count) try right_cursor.column(index) else .nil; const collation = if (index < columns.len) columns[index].collation else Collation.binary; const order = compareValues(left, right, collation); if (order != .eq) return order; } return .eq; }};Source: lib/sql/src/root.zig:269
zig
pub const RowView = row.View;Complete caller list for RowView.column
75 direct callers.
lib.sql.src.catalog.catalogEntry[function] — private source atlib/sql/src/catalog.zig:1938in nearest public ownertiny.sql.cataloglib.sql.src.catalog.defaultValue[function] — private source atlib/sql/src/catalog.zig:2696in nearest public ownertiny.sql.cataloglib.sql.src.catalog.test_catalog_allocates_distinct_roots_for_multiple_relations[function] — test source atlib/sql/src/catalog.zig:3423in nearest public ownertiny.sql.cataloglib.sql.src.catalog.test_catalog_persists_relation_metadata_and_reopens_without_caller_specs[function] — test source atlib/sql/src/catalog.zig:3086in nearest public ownertiny.sql.cataloglib.sql.src.catalog.test_catalog_reader_exposes_one_snapshot_through_query-only_methods[function] — test source atlib/sql/src/catalog.zig:2817in nearest public ownertiny.sql.cataloglib.sql.src.connection.expectAtomicConnectionBaseline[function] — private source atlib/sql/src/connection.zig:3109in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_applies_explicit_database_merge_snapshots_into_working_root[function] — test source atlib/sql/src/connection.zig:2009in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_checkout_creates_missing_relations_from_committed_schema_descriptors[function] — test source atlib/sql/src/connection.zig:1600in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_checkout_drops_relations_absent_from_target_root[function] — test source atlib/sql/src/connection.zig:1708in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_drop_table_statement_keeps_pre-drop_commits_readable[function] — test source atlib/sql/src/connection.zig:1763in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_executes_statement_writes_through_its_database_session[function] — test source atlib/sql/src/connection.zig:1379in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_fast_forward_rejects_a_changed_working_set[function] — test source atlib/sql/src/connection.zig:2719in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_merge_materializes_independent_relation_additions[function] — test source atlib/sql/src/connection.zig:2454in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_merges_branch_refs_from_history_snapshots[function] — test source atlib/sql/src/connection.zig:2509in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_open_repairs_committed_fast_forward_to_target[function] — test source atlib/sql/src/connection.zig:2858in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_open_repairs_pending_fast_forward_to_baseline[function] — test source atlib/sql/src/connection.zig:2800in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_rejects_a_selected_schema_before_changing_the_working_root[function] — test source atlib/sql/src/connection.zig:2081in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_replaces_conflict_root_after_value_resolution[function] — test source atlib/sql/src/connection.zig:2131in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_resolves_selected_conflict_artifacts[function] — test source atlib/sql/src/connection.zig:2316in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_local_connection_commits_the_maintained_database_without_history[function] — test source atlib/sql/src/connection.zig:1324in nearest public ownertiny.sql.connectionlib.sql.src.merge.test_database_merge_applies_clean_relation_edits_and_derives_root[function] — test source atlib/sql/src/merge.zig:1060in nearest public ownertiny.sql.mergelib.sql.src.merge.test_database_merge_matches_relation_names_and_preserves_independent_relation_set_changes[function] — test source atlib/sql/src/merge.zig:1249in nearest public ownertiny.sql.mergelib.sql.src.merge.test_database_merge_records_relation_topology_conflicts_under_database_root[function] — test source atlib/sql/src/merge.zig:1386in nearest public ownertiny.sql.mergelib.sql.src.merge.test_database_merge_supersedes_stale_slots_and_persists_complete_conflict_root[function] — test source atlib/sql/src/merge.zig:1151in nearest public ownertiny.sql.mergelib.sql.src.plan.test_prepared_relation_data_changes_preserve_captured_schema[function] — test source atlib/sql/src/plan.zig:703in nearest public ownertiny.sql.planlib.sql.src.plan.test_prepared_relation_detects_external_relation_root_changes[function] — test source atlib/sql/src/plan.zig:648in nearest public ownertiny.sql.planlib.sql.src.plan.test_prepared_relation_ignores_unrelated_catalog_schema_version_bumps[function] — test source atlib/sql/src/plan.zig:575in nearest public ownertiny.sql.planlib.sql.src.relation.test_relation_applies_edit_batches_to_table_and_secondary_indexes[function] — test source atlib/sql/src/relation.zig:759in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_applies_update_edits_within_batches[function] — test source atlib/sql/src/relation.zig:904in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_maintains_secondary_index_through_replace_and_reopen[function] — test source atlib/sql/src/relation.zig:682in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_put_accepts_rows_larger_than_a_page[function] — test source atlib/sql/src/relation.zig:1073in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_update_merges_assigned_columns_and_maintains_secondary_index[function] — test source atlib/sql/src/relation.zig:843in nearest public ownertiny.sql.relationlib.sql.src.row.test_row_cursor_preserves_forward_backward_repeated_and_rejected_reads[function] — test source atlib/sql/src/row.zig:710in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_encodes_typed_values_and_projections[function] — test source atlib/sql/src/row.zig:688in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_rejects_invalid_and_truncated_data[function] — test source atlib/sql/src/row.zig:784in nearest public ownertiny.sql.rowlib.sql.src.search.engine.test_search_shared_tablespace_writes_later_reserved_table_root[function] — test source atlib/sql/src/search/engine.zig:3468in nearest public ownerlib.sql.src.search.enginelib.sql.src.search.engine.test_search_shared_tablespace_writes_refs_after_reopen_query[function] — test source atlib/sql/src/search/engine.zig:3502in nearest public ownerlib.sql.src.search.enginelib.sql.src.search.token.textFromRow[function] — private source atlib/sql/src/search/token.zig:65in nearest public ownerlib.sql.src.search.tokenlib.sql.src.session.test.test_database_session_flushes_queued_relation_edits_into_one_working_root[function] — test source atlib/sql/src/session/test.zig:564in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_database_session_rejects_staged_relations_that_drift_from_working_values[function] — test source atlib/sql/src/session/test.zig:418in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_database_write_appends_staged_edits_to_staged_relations[function] — test source atlib/sql/src/session/test.zig:110in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_database_write_can_trust_staged_relation_indexes[function] — test source atlib/sql/src/session/test.zig:331in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_relation_sessions_stage_edits_through_database_flush[function] — test source atlib/sql/src/session/test.zig:39in nearest public ownerlib.sql.src.session.testlib.sql.src.space.test_space_keeps_table_growth_away_from_reserved_index_root[function] — test source atlib/sql/src/space.zig:216in nearest public ownertiny.sql.spacelib.sql.src.statement.execute.test_prepared_index_cursor_keeps_one_relation_read_across_table_mutation[function] — test source atlib/sql/src/statement/execute.zig:2805in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statement_ignores_unrelated_catalog_schema_changes[function] — test source atlib/sql/src/statement/execute.zig:3944in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_bind_parameters_by_index_and_name[function] — test source atlib/sql/src/statement/execute.zig:3829in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_choose_indexed_and_scanned_predicates[function] — test source atlib/sql/src/statement/execute.zig:2861in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_create_indexes_over_existing_rows[function] — test source atlib/sql/src/statement/execute.zig:2491in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_delete_rows_matching_predicates[function] — test source atlib/sql/src/statement/execute.zig:1893in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_insert_select_and_delete_rowid_rows[function] — test source atlib/sql/src/statement/execute.zig:2663in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_order_selected_rows_with_windows[function] — test source atlib/sql/src/statement/execute.zig:1381in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_resolve_catalog_columns_for_insert_and_select_projection[function] — test source atlib/sql/src/statement/execute.zig:2735in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_route_catalog_writes_through_database_sessions[function] — test source atlib/sql/src/statement/execute.zig:2427in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_select_bare_tables_with_limit_and_offset_windows[function] — test source atlib/sql/src/statement/execute.zig:1622in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_predicate_deletes_with_read-your-writes[function] — test source atlib/sql/src/statement/execute.zig:2098in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_predicate_updates_with_read-your-writes[function] — test source atlib/sql/src/statement/execute.zig:2016in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_repeated_executes_against_one_staged_base[function] — test source atlib/sql/src/statement/execute.zig:2177in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_updates_with_read-your-writes[function] — test source atlib/sql/src/statement/execute.zig:1960in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stream_rowid-ascending_orders_through_the_scan_window[function] — test source atlib/sql/src/statement/execute.zig:1544in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_surface_staged_base_drift_at_flush[function] — test source atlib/sql/src/statement/execute.zig:2362in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_update_assigned_columns_by_rowid[function] — test source atlib/sql/src/statement/execute.zig:1722in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_update_rows_matching_predicates[function] — test source atlib/sql/src/statement/execute.zig:1796in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_analyzed_stats_to_prefer_covered_index[function] — test source atlib/sql/src/statement/execute.zig:3374in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_and_predicates_with_composite_index_prefixes[function] — test source atlib/sql/src/statement/execute.zig:3097in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_composite_index_after_checkpoint_reopen[function] — test source atlib/sql/src/statement/execute.zig:3245in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_composite_prefix_distribution_for_runtime_range_access[function] — test source atlib/sql/src/statement/execute.zig:3670in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_large_composite_index_after_checkpoint_reopen[function] — test source atlib/sql/src/statement/execute.zig:3303in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_sorted_cursor_allocation_failure_leaves_cleanup_empty_and_retryable[function] — test source atlib/sql/src/statement/execute.zig:1471in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.result.selectedRow[function] — private source atlib/sql/src/statement/result.zig:244in nearest public ownerlib.sql.src.statement.resultlib.sql.src.statement.result.selectedRowInto[function] — private source atlib/sql/src/statement/result.zig:264in nearest public ownerlib.sql.src.statement.resultlib.sql.src.table.test_rowid_table_deletes_and_recovers_after_reopen[function] — test source atlib/sql/src/table.zig:737in nearest public ownertiny.sql.tablelib.sql.src.table.test_rowid_table_stores_typed_rows_and_scans_in_rowid_order[function] — test source atlib/sql/src/table.zig:626in nearest public ownertiny.sql.tablelib.sql.src.table.test_table_value_storage_preserves_typed_row_semantics[function] — test source atlib/sql/src/table.zig:587in nearest public ownertiny.sql.tablelib.sql.src.version.test_relation_value_applies_row_edits_from_an_immutable_base[function] — test source atlib/sql/src/version.zig:1846in nearest public ownertiny.sql.version
Complete caller list for RowView.cursor
7 direct callers.
tiny.sql.relation.applyUpdate[function] atlib/sql/src/relation.zig:81tiny.sql.row.Cursor.column[method] atlib/sql/src/row.zig:425tiny.sql.RowView.column[method] atlib/sql/src/row.zig:379tiny.sql.RowView.compare[method] atlib/sql/src/row.zig:393tiny.sql.RowView.project[method] atlib/sql/src/row.zig:384lib.sql.src.row.test_row_cursor_preserves_forward_backward_repeated_and_rejected_reads[function] — test source atlib/sql/src/row.zig:710in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_cursor_preserves_noncanonical_header_prefixes_and_empty_rows[function] — test source atlib/sql/src/row.zig:737in nearest public ownertiny.sql.row
Complete caller list for RowView.init
93 direct callers.
tiny.sql.Catalog.prepareRelationStats[function] atlib/sql/src/catalog.zig:763lib.sql.src.catalog.catalogEntry[function] — private source atlib/sql/src/catalog.zig:1938in nearest public ownertiny.sql.cataloglib.sql.src.catalog.defaultValue[function] — private source atlib/sql/src/catalog.zig:2696in nearest public ownertiny.sql.cataloglib.sql.src.catalog.prepareDistributionKeys[function] — private source atlib/sql/src/catalog.zig:2228in nearest public ownertiny.sql.cataloglib.sql.src.catalog.test_catalog_allocates_distinct_roots_for_multiple_relations[function] — test source atlib/sql/src/catalog.zig:3423in nearest public ownertiny.sql.cataloglib.sql.src.catalog.test_catalog_persists_relation_metadata_and_reopens_without_caller_specs[function] — test source atlib/sql/src/catalog.zig:3086in nearest public ownertiny.sql.cataloglib.sql.src.catalog.test_catalog_reader_exposes_one_snapshot_through_query-only_methods[function] — test source atlib/sql/src/catalog.zig:2817in nearest public ownertiny.sql.cataloglib.sql.src.connection.expectAtomicConnectionBaseline[function] — private source atlib/sql/src/connection.zig:3109in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_applies_explicit_database_merge_snapshots_into_working_root[function] — test source atlib/sql/src/connection.zig:2009in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_checkout_creates_missing_relations_from_committed_schema_descriptors[function] — test source atlib/sql/src/connection.zig:1600in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_checkout_drops_relations_absent_from_target_root[function] — test source atlib/sql/src/connection.zig:1708in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_drop_table_statement_keeps_pre-drop_commits_readable[function] — test source atlib/sql/src/connection.zig:1763in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_executes_statement_writes_through_its_database_session[function] — test source atlib/sql/src/connection.zig:1379in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_fast_forward_rejects_a_changed_working_set[function] — test source atlib/sql/src/connection.zig:2719in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_merge_materializes_independent_relation_additions[function] — test source atlib/sql/src/connection.zig:2454in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_merges_branch_refs_from_history_snapshots[function] — test source atlib/sql/src/connection.zig:2509in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_open_repairs_committed_fast_forward_to_target[function] — test source atlib/sql/src/connection.zig:2858in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_open_repairs_pending_fast_forward_to_baseline[function] — test source atlib/sql/src/connection.zig:2800in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_rejects_a_selected_schema_before_changing_the_working_root[function] — test source atlib/sql/src/connection.zig:2081in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_replaces_conflict_root_after_value_resolution[function] — test source atlib/sql/src/connection.zig:2131in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_connection_resolves_selected_conflict_artifacts[function] — test source atlib/sql/src/connection.zig:2316in nearest public ownertiny.sql.connectionlib.sql.src.connection.test_local_connection_commits_the_maintained_database_without_history[function] — test source atlib/sql/src/connection.zig:1324in nearest public ownertiny.sql.connectionlib.sql.src.merge.test_database_merge_applies_clean_relation_edits_and_derives_root[function] — test source atlib/sql/src/merge.zig:1060in nearest public ownertiny.sql.mergelib.sql.src.merge.test_database_merge_matches_relation_names_and_preserves_independent_relation_set_changes[function] — test source atlib/sql/src/merge.zig:1249in nearest public ownertiny.sql.mergelib.sql.src.merge.test_database_merge_records_relation_topology_conflicts_under_database_root[function] — test source atlib/sql/src/merge.zig:1386in nearest public ownertiny.sql.mergelib.sql.src.merge.test_database_merge_supersedes_stale_slots_and_persists_complete_conflict_root[function] — test source atlib/sql/src/merge.zig:1151in nearest public ownertiny.sql.mergelib.sql.src.plan.test_prepared_relation_data_changes_preserve_captured_schema[function] — test source atlib/sql/src/plan.zig:703in nearest public ownertiny.sql.planlib.sql.src.plan.test_prepared_relation_detects_external_relation_root_changes[function] — test source atlib/sql/src/plan.zig:648in nearest public ownertiny.sql.planlib.sql.src.plan.test_prepared_relation_ignores_unrelated_catalog_schema_version_bumps[function] — test source atlib/sql/src/plan.zig:575in nearest public ownertiny.sql.planlib.sql.src.relation.Relation.accumulateEdit[function] — private source atlib/sql/src/relation.zig:522in nearest public ownertiny.sql.relationlib.sql.src.relation.Relation.applyEditStateIn[method] — private source atlib/sql/src/relation.zig:568in nearest public ownertiny.sql.relationtiny.sql.Relation.validateIndexes[method] atlib/sql/src/relation.zig:465tiny.sql.relation.applyUpdate[function] atlib/sql/src/relation.zig:81lib.sql.src.relation.test_relation_applies_edit_batches_to_table_and_secondary_indexes[function] — test source atlib/sql/src/relation.zig:759in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_applies_update_edits_within_batches[function] — test source atlib/sql/src/relation.zig:904in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_maintains_secondary_index_through_replace_and_reopen[function] — test source atlib/sql/src/relation.zig:682in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_put_accepts_rows_larger_than_a_page[function] — test source atlib/sql/src/relation.zig:1073in nearest public ownertiny.sql.relationlib.sql.src.relation.test_relation_update_merges_assigned_columns_and_maintains_secondary_index[function] — test source atlib/sql/src/relation.zig:843in nearest public ownertiny.sql.relationtiny.sql.row.compare[function] atlib/sql/src/row.zig:474lib.sql.src.row.test_row_cursor_preserves_forward_backward_repeated_and_rejected_reads[function] — test source atlib/sql/src/row.zig:710in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_cursor_preserves_noncanonical_header_prefixes_and_empty_rows[function] — test source atlib/sql/src/row.zig:737in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_encodes_typed_values_and_projections[function] — test source atlib/sql/src/row.zig:688in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_rejects_invalid_and_truncated_data[function] — test source atlib/sql/src/row.zig:784in nearest public ownertiny.sql.rowlib.sql.src.row.test_row_spec_derives_SQL_text_arity_projections_and_indices[function] — test source atlib/sql/src/row.zig:794in nearest public ownertiny.sql.rowlib.sql.src.search.engine.test_search_shared_tablespace_writes_later_reserved_table_root[function] — test source atlib/sql/src/search/engine.zig:3468in nearest public ownerlib.sql.src.search.enginelib.sql.src.search.engine.test_search_shared_tablespace_writes_refs_after_reopen_query[function] — test source atlib/sql/src/search/engine.zig:3502in nearest public ownerlib.sql.src.search.enginelib.sql.src.search.token.textFromRow[function] — private source atlib/sql/src/search/token.zig:65in nearest public ownerlib.sql.src.search.tokentiny.sql.RelationSession.putEncoded[method] atlib/sql/src/session/relation.zig:99lib.sql.src.session.test.test_database_session_flushes_queued_relation_edits_into_one_working_root[function] — test source atlib/sql/src/session/test.zig:564in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_database_session_rejects_staged_relations_that_drift_from_working_values[function] — test source atlib/sql/src/session/test.zig:418in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_database_write_appends_staged_edits_to_staged_relations[function] — test source atlib/sql/src/session/test.zig:110in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_database_write_can_trust_staged_relation_indexes[function] — test source atlib/sql/src/session/test.zig:331in nearest public ownerlib.sql.src.session.testlib.sql.src.session.test.test_relation_sessions_stage_edits_through_database_flush[function] — test source atlib/sql/src/session/test.zig:39in nearest public ownerlib.sql.src.session.testlib.sql.src.space.test_space_keeps_table_growth_away_from_reserved_index_root[function] — test source atlib/sql/src/space.zig:216in nearest public ownertiny.sql.spacelib.sql.src.statement.execute.test_prepared_index_cursor_keeps_one_relation_read_across_table_mutation[function] — test source atlib/sql/src/statement/execute.zig:2805in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statement_ignores_unrelated_catalog_schema_changes[function] — test source atlib/sql/src/statement/execute.zig:3944in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_bind_parameters_by_index_and_name[function] — test source atlib/sql/src/statement/execute.zig:3829in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_choose_indexed_and_scanned_predicates[function] — test source atlib/sql/src/statement/execute.zig:2861in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_create_indexes_over_existing_rows[function] — test source atlib/sql/src/statement/execute.zig:2491in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_delete_rows_matching_predicates[function] — test source atlib/sql/src/statement/execute.zig:1893in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_insert_select_and_delete_rowid_rows[function] — test source atlib/sql/src/statement/execute.zig:2663in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_order_selected_rows_with_windows[function] — test source atlib/sql/src/statement/execute.zig:1381in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_resolve_catalog_columns_for_insert_and_select_projection[function] — test source atlib/sql/src/statement/execute.zig:2735in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_route_catalog_writes_through_database_sessions[function] — test source atlib/sql/src/statement/execute.zig:2427in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_select_bare_tables_with_limit_and_offset_windows[function] — test source atlib/sql/src/statement/execute.zig:1622in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_predicate_deletes_with_read-your-writes[function] — test source atlib/sql/src/statement/execute.zig:2098in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_predicate_updates_with_read-your-writes[function] — test source atlib/sql/src/statement/execute.zig:2016in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_repeated_executes_against_one_staged_base[function] — test source atlib/sql/src/statement/execute.zig:2177in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stage_updates_with_read-your-writes[function] — test source atlib/sql/src/statement/execute.zig:1960in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_stream_rowid-ascending_orders_through_the_scan_window[function] — test source atlib/sql/src/statement/execute.zig:1544in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_surface_staged_base_drift_at_flush[function] — test source atlib/sql/src/statement/execute.zig:2362in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_update_assigned_columns_by_rowid[function] — test source atlib/sql/src/statement/execute.zig:1722in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_update_rows_matching_predicates[function] — test source atlib/sql/src/statement/execute.zig:1796in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_analyzed_stats_to_prefer_covered_index[function] — test source atlib/sql/src/statement/execute.zig:3374in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_and_predicates_with_composite_index_prefixes[function] — test source atlib/sql/src/statement/execute.zig:3097in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_composite_index_after_checkpoint_reopen[function] — test source atlib/sql/src/statement/execute.zig:3245in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_composite_prefix_distribution_for_runtime_range_access[function] — test source atlib/sql/src/statement/execute.zig:3670in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_prepared_statements_use_large_composite_index_after_checkpoint_reopen[function] — test source atlib/sql/src/statement/execute.zig:3303in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.execute.test_sorted_cursor_allocation_failure_leaves_cleanup_empty_and_retryable[function] — test source atlib/sql/src/statement/execute.zig:1471in nearest public ownerlib.sql.src.statement.executelib.sql.src.statement.predicate.rowBytesMatchPredicates[function] — private source atlib/sql/src/statement/predicate.zig:178in nearest public ownerlib.sql.src.statement.predicatelib.sql.src.statement.result.appendSortedRow[function] — private source atlib/sql/src/statement/result.zig:361in nearest public ownerlib.sql.src.statement.resultlib.sql.src.statement.result.selectedRow[function] — private source atlib/sql/src/statement/result.zig:244in nearest public ownerlib.sql.src.statement.resultlib.sql.src.statement.result.selectedRowInto[function] — private source atlib/sql/src/statement/result.zig:264in nearest public ownerlib.sql.src.statement.resulttiny.sql.TableEntry.view[method] atlib/sql/src/table.zig:188tiny.sql.RowIdTable.putEncodedIn[method] atlib/sql/src/table.zig:313lib.sql.src.table.checkSealedValueReads[function] — private source atlib/sql/src/table.zig:483in nearest public ownertiny.sql.tablelib.sql.src.table.test_rowid_table_deletes_and_recovers_after_reopen[function] — test source atlib/sql/src/table.zig:737in nearest public ownertiny.sql.tablelib.sql.src.table.test_rowid_table_stores_typed_rows_and_scans_in_rowid_order[function] — test source atlib/sql/src/table.zig:626in nearest public ownertiny.sql.tablelib.sql.src.table.test_table_value_storage_preserves_typed_row_semantics[function] — test source atlib/sql/src/table.zig:587in nearest public ownertiny.sql.tablelib.sql.src.version.applyRelationRowEdit[function] — private source atlib/sql/src/version.zig:1293in nearest public ownertiny.sql.versionlib.sql.src.version.indexRootFromRows[function] — private source atlib/sql/src/version.zig:1090in nearest public ownertiny.sql.versionlib.sql.src.version.tableRootFromRows[function] — private source atlib/sql/src/version.zig:1073in nearest public ownertiny.sql.versionlib.sql.src.version.test_relation_value_applies_row_edits_from_an_immutable_base[function] — test source atlib/sql/src/version.zig:1846in nearest public ownertiny.sql.version
Audit
| Definitions | 7 |
|---|---|
| Public names | 14 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |