Database

Local WASM SQLite database, synced with the server. The differences with the server are automatically resolved when online.

const other = useDbQuery<{ id: string; name: string; position: number }>({
	dbName: "main",
	query: sql`SELECT id, name, position FROM tracks WHERE id = ?`,
	bindings: [id],
})

See also

On this page