API
The runtime entry point is Achieve.Database.LiteDB.
Initialize
Connects immediately using the given SQLite file path.
Copies the default DB file from StreamingAssets/data/file.db to persistentDataPath/data/localdatasqlite.db, then connects.
Get
Returns the first row whose primary key or Id column equals the given value. Returns default when not initialized.
GetList
Queries rows in the range Id >= startId AND Id <= endId.
Exist
Checks whether an Id exists in the table for the given type.
TryGetValue
Checks existence and returns the data via out if present. Returns false when not initialized or when no data exists.
Using SQLiteConnection directly
For advanced use, you can use SQLite.SQLiteConnection directly.
The direct API provided is query-focused. It does not include the full sqlite-net ORM features, LINQ table queries, or an async connection pool.