Skip to content

Commit cae8099

Browse files
committed
docs: document monotonic key contract on open_or_build
1 parent 302b030 commit cae8099

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/sqlite_provider.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ impl SqliteLookupProvider {
106106
/// connections (WAL allows N concurrent readers).
107107
///
108108
/// `local_parquet_files`, `schema`, and `parquet_col_indices`
109-
/// are only used if the table does not yet exist.
109+
/// are only used if the table does not yet exist. Row keys are assigned
110+
/// as monotonic integers (0, 1, 2, …) in file-iteration order; any
111+
/// USearch index used alongside this provider must use the same scheme.
110112
pub fn open_or_build(
111113
db_path: &str,
112114
table_name: &str,

0 commit comments

Comments
 (0)