D1Meta
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7175
Properties
Section titled “Properties”changed_db
Section titled “changed_db”changed_db:
boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7181
changes
Section titled “changes”changes:
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7182
duration
Section titled “duration”duration:
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7176
last_row_id
Section titled “last_row_id”last_row_id:
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7180
rows_read
Section titled “rows_read”rows_read:
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7178
rows_written
Section titled “rows_written”rows_written:
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7179
served_by_primary?
Section titled “served_by_primary?”
optional
served_by_primary:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7190
True if-and-only-if the database instance that executed the query was the primary.
served_by_region?
Section titled “served_by_region?”
optional
served_by_region:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7186
The region of the database instance that executed the query.
size_after
Section titled “size_after”size_after:
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7177
timings?
Section titled “timings?”
optional
timings:object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:7191
sql_duration_ms
Section titled “sql_duration_ms”sql_duration_ms:
number
The duration of the SQL query execution by the database instance. It doesn’t include any network time.