Skip to content

blob

Call Signature

blob(): object

Defined in: packages/@livestore/common/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts:49

Returns

object

columnType

columnType: "blob"

default

default: None<never>

nullable

nullable: false

primaryKey

primaryKey: false

schema

schema: Schema<Uint8Array<ArrayBufferLike>>

Call Signature

blob<TEncoded, TDecoded, TNullable, TDefault, TPrimaryKey>(args): object

Defined in: packages/@livestore/common/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts:49

Type Parameters

TEncoded extends Uint8Array<ArrayBufferLike>

TDecoded = Uint8Array<ArrayBufferLike>

TNullable extends boolean = false

TDefault = typeof NoDefault

TPrimaryKey extends boolean = false

Parameters

args

default?

TDefault

nullable?

TNullable

primaryKey?

TPrimaryKey

schema?

Schema<TDecoded, TEncoded, never>

Returns

object

columnType

columnType: "blob"

default

default: TDefault extends typeof NoDefault ? None<never> : Some<NoInfer<TDefault>>

nullable

nullable: NoInfer<TNullable>

primaryKey

primaryKey: NoInfer<TPrimaryKey>

schema

schema: TNullable extends true ? Schema<null | NoInfer<TDecoded>, null | NoInfer<TEncoded>, never> : Schema<NoInfer<TDecoded>, NoInfer<TEncoded>, never>