Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lock ¶ added in v0.26.1
type Lock struct{}
Lock acquires database write intent before sequence identity reads. It uses the supplied transaction exclusively and never completes it. SQLite permits only one writer; a concurrent invocation waits here until that owner finishes.
type Max ¶
type Max struct{}
Max represents struct used to setting new autoincrement value using simple "SELECT MAX(ID)" approach
type Metadata ¶ added in v0.26.0
type Metadata struct{}
Metadata owns read-only physical sequence identity for SQLite. A numeric MAX allocation may target a table with no sqlite_sequence entry yet.
type Next ¶ added in v0.2.2
type Next struct{}
Next reserves a durable SQLite range without inserting entity rows. A supplied transaction retains completion ownership; its reservation is pending until that owner commits. MAX allocation remains a separate read-only strategy.