D1PreparedStatement
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7248
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new D1PreparedStatement():
D1PreparedStatement
Returns
Section titled “Returns”D1PreparedStatement
Methods
Section titled “Methods”all<
T
>():Promise
<D1Result
<T
>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7253
Type Parameters
Section titled “Type Parameters”T
= Record
<string
, unknown
>
Returns
Section titled “Returns”Promise
<D1Result
<T
>>
bind()
Section titled “bind()”bind(…
values
):D1PreparedStatement
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7249
Parameters
Section titled “Parameters”values
Section titled “values”…unknown
[]
Returns
Section titled “Returns”D1PreparedStatement
first()
Section titled “first()”Call Signature
Section titled “Call Signature”first<
T
>(colName
):Promise
<null
|T
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7250
Type Parameters
Section titled “Type Parameters”T
= unknown
Parameters
Section titled “Parameters”colName
Section titled “colName”string
Returns
Section titled “Returns”Promise
<null
| T
>
Call Signature
Section titled “Call Signature”first<
T
>():Promise
<null
|T
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7251
Type Parameters
Section titled “Type Parameters”T
= Record
<string
, unknown
>
Returns
Section titled “Returns”Promise
<null
| T
>
Call Signature
Section titled “Call Signature”raw<
T
>(options
):Promise
<[string
[],...T[]
]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7254
Type Parameters
Section titled “Type Parameters”T
= unknown
[]
Parameters
Section titled “Parameters”options
Section titled “options”columnNames
Section titled “columnNames”true
Returns
Section titled “Returns”Promise
<[string
[], ...T[]
]>
Call Signature
Section titled “Call Signature”raw<
T
>(options?
):Promise
<T
[]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7257
Type Parameters
Section titled “Type Parameters”T
= unknown
[]
Parameters
Section titled “Parameters”options?
Section titled “options?”columnNames?
Section titled “columnNames?”false
Returns
Section titled “Returns”Promise
<T
[]>
run<
T
>():Promise
<D1Result
<T
>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7252
Type Parameters
Section titled “Type Parameters”T
= Record
<string
, unknown
>
Returns
Section titled “Returns”Promise
<D1Result
<T
>>