@suluk/drizzle - v0.1.6
↑ Suluk
GitHub
Preparing search index...
ClaimDb
Interface ClaimDb
Minimal drizzle handle for a conditional update (bun:sqlite sync or D1 async — both awaited).
interface
ClaimDb
{
update
:
(
table
:
unknown
,
)
=>
{
set
:
(
values
:
Record
<
string
,
unknown
>
,
)
=>
{
where
:
(
cond
:
SQL
)
=>
{
run
:
()
=>
unknown
;
returning
:
()
=>
unknown
}
;
}
;
}
;
}
Index
Properties
update
Properties
update
update
:
(
table
:
unknown
,
)
=>
{
set
:
(
values
:
Record
<
string
,
unknown
>
,
)
=>
{
where
:
(
cond
:
SQL
)
=>
{
run
:
()
=>
unknown
;
returning
:
()
=>
unknown
}
;
}
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
update
↑ Suluk
GitHub
@suluk/drizzle - v0.1.6
Loading...
Minimal drizzle handle for a conditional update (bun:sqlite sync or D1 async — both awaited).