# Function: sqliteStores()

```ts
function sqliteStores(db, options?): SqliteStores;
```

Defined in: [packages/storage/src/sqlite/adapter.ts:88](https://github.com/leifriksheim/minca/blob/main/storage/src/sqlite/adapter.ts#L88)

A node's stores in one SQLite database, for a node on a server or a
computer. Opening a store again gives the same data; closing one leaves the
database open, since the others share it: close the connection yourself
when the node is done.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `db` | [`SqliteDatabase`](https://minca.dev/api/storage-sqlite/interfaces/SqliteDatabase.md) | - |
| `options?` | \{ `localKey?`: `CryptoKey` \| `null`; \} | - |
| `options.localKey?` | `CryptoKey` \| `null` | Seals the registry. Without it nothing is sealed. |

## Returns

[`SqliteStores`](https://minca.dev/api/storage-sqlite/type-aliases/SqliteStores.md)
