Documentation
Preparing search index...
@rivetkit/db
drizzle/mod
db
Function db
db
<
TSchema
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
never
>
>
(
config
?:
DatabaseFactoryConfig
<
TSchema
>
,
)
:
DatabaseProvider
<
BetterSQLite3Database
<
TSchema
>
&
RawAccess
>
Type Parameters
TSchema
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
never
>
Parameters
Optional
config
:
DatabaseFactoryConfig
<
TSchema
>
Returns
DatabaseProvider
<
BetterSQLite3Database
<
TSchema
>
&
RawAccess
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
Loading...