Skip to main content

Module value

Module value 

Source

Structs§

SmallText
A small-string-optimized text value.
SqlLikeFastPathMatcher
Reusable matcher for simple LIKE patterns classified by classify_sql_like_fast_path.
SumAccumulator
Accumulator for SQL sum() aggregate with SQLite overflow semantics.
SumOverflowError
Error returned when sum() encounters integer overflow.

Enums§

SqlLikeFastPathKind
SqliteValue
A dynamically-typed SQLite value.

Functions§

classify_sql_like_fast_path
format_sqlite_float
Format a floating-point value as text matching SQLite’s %!.*g behavior.
int_float_cmp
Compare an integer with a float, preserving precision for large i64 values.
pool_acquire
Acquire a value from the thread-local pool, if available.
pool_clear
Clear the thread-local value pool.
pool_len
Returns the current number of values in the thread-local pool.
pool_return
Return a value to the thread-local pool for reuse.
pool_return_reusable
Return a heap-carrying value to the thread-local pool when preserving its backing allocation is likely to pay off on the next decode/write.
sql_like
Match a string against a SQL LIKE pattern with SQLite semantics.
sql_like_cased
Match a string against a SQL LIKE pattern, honoring the connection’s PRAGMA case_sensitive_like setting.
sql_like_fast_path_matches
sql_like_fast_path_matches_cased
Like sql_like_fast_path_matches but honoring case_sensitive.
unique_key_duplicates
Check if two composite UNIQUE keys are duplicates (SQLite NULL semantics).