Skip to content

Function: file()

file(options?): Column<FileRef, true, false>

Defined in: core/src/schema/columns.ts:270

Declare a file/blob column. Rows carry a FileRef manifest, actual bytes live in R2 keyed by sha256. See spec §FR-1 for the contract.

v0.3 only implements upload: "proxy"; "presigned" / "auto" throw at schema-build time so callers can start writing the wire-eventual API without silently getting a different behaviour.

FileColumnOptions = {}

Column<FileRef, true, false>