Skip to content

Commit c413054

Browse files
committed
Code review feedback - improve description of in-memory db
1 parent 1559452 commit c413054

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

website/docs/usage/index.mdx

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ connection.close()
2828

2929
:::info Why do in-memory databases need names?
3030

31-
Sqlite lets you create an in memory db with multiple connections using a shared memory cache with the supplied
32-
name, that needs to be managed and deleted like any other database. If you pass a value of `null` then a name of
33-
`:memory:` is auto assigned by SQLiter.
31+
If you pass in a name you need to manage the connections, just like any other database, but if you pass a value of `null`
32+
then SQLiter will auto-assign the name `:memory:` and the connection should auto-close when you disconnect.
3433

3534
:::
3635

0 commit comments

Comments
 (0)