Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
D1Database
Class D1Database
Abstract
Index
Constructors
constructor
Methods
batch
dump
exec
prepare
Constructors
constructor
new
D1
Database
(
)
:
D1Database
Returns
D1Database
Methods
batch
batch
<
T
>
(
statements
)
:
Promise
<
D1Result
<
T
>
[]
>
Type Parameters
T
=
unknown
Parameters
statements
:
D1PreparedStatement
[]
Returns
Promise
<
D1Result
<
T
>
[]
>
dump
dump
(
)
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
exec
exec
(
query
)
:
Promise
<
D1ExecResult
>
Parameters
query
:
string
Returns
Promise
<
D1ExecResult
>
prepare
prepare
(
query
)
:
D1PreparedStatement
Parameters
query
:
string
Returns
D1PreparedStatement
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
batch
dump
exec
prepare
@cloudflare/workers-types
Loading...