# Class SQLiteCustomColumn<T>

#### Type Parameters

- T extends ColumnBaseConfig<"custom", "SQLiteCustomColumn">

#### Hierarchy (View Summary)

- SQLiteColumn<T>
  - SQLiteCustomColumn

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/custom.d.ts:32

##### Index

### Constructors

constructor

### Properties

_
columnType
config
dataType
default
defaultFn
enumValues
generated
generatedIdentity
hasDefault
isUnique
keyAsName
name
notNull
onUpdateFn
primary
table
uniqueName
uniqueType
[entityKind]

### Methods

getSQL
getSQLType
mapFromDriverValue
mapToDriverValue
shouldOmitSQLParens?

## Constructors

### constructor

- new SQLiteCustomColumn<
  T extends ColumnBaseConfig<"custom", "SQLiteCustomColumn">,
  >(
  table: AnySQLiteTable<{ name: T["tableName"] }>,
  config: ColumnBuilderRuntimeConfig<
  T["data"],
  {
  customTypeParams: CustomTypeParams<any>;
  fieldConfig: Record<string, any> | undefined;
  },
  >,
  ): SQLiteCustomColumn<T>

  #### Type Parameters

  - T extends ColumnBaseConfig<"custom", "SQLiteCustomColumn">

  #### Parameters

  - table: AnySQLiteTable<{ name: T["tableName"] }>
  - config: ColumnBuilderRuntimeConfig<
    T["data"],
    {
    customTypeParams: CustomTypeParams<any>;
    fieldConfig: Record<string, any> | undefined;
    },
    >

  #### Returns SQLiteCustomColumn<T>

  Overrides SQLiteColumn.constructor

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/custom.d.ts:37

## Properties

### `Readonly`_

_: ColumnTypeConfig<T, { dialect: "sqlite" }>

Inherited from SQLiteColumn._

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:40

### `Readonly` columnType

columnType: T["columnType"]

Inherited from SQLiteColumn.columnType

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:53

### `Protected` config

config: {
columnType: string;
dataType: string;
default: SQL<unknown> | T["data"] | undefined;
defaultFn: (() => SQL<unknown> | T["data"]) | undefined;
generated: GeneratedColumnConfig<T["data"]> | undefined;
generatedIdentity: GeneratedIdentityConfig | undefined;
hasDefault: boolean;
isUnique: boolean;
keyAsName: boolean;
name: string;
notNull: boolean;
onUpdateFn: (() => SQL<unknown> | T["data"]) | undefined;
primaryKey: boolean;
uniqueName: string | undefined;
uniqueType: string | undefined;
}

Inherited from SQLiteColumn.config

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:57

### `Readonly` dataType

dataType: T["dataType"]

Inherited from SQLiteColumn.dataType

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:52

### `Readonly` default

default: SQL<unknown> | T["data"] | undefined

Inherited from SQLiteColumn.default

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:45

### `Readonly` defaultFn

defaultFn: (() => SQL<unknown> | T["data"]) | undefined

Inherited from SQLiteColumn.defaultFn

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:46

### `Readonly` enumValues

enumValues: T["enumValues"]

Inherited from SQLiteColumn.enumValues

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:54

### `Readonly` generated

generated: GeneratedColumnConfig<T["data"]> | undefined

Inherited from SQLiteColumn.generated

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:55

### `Readonly` generatedIdentity

generatedIdentity: GeneratedIdentityConfig | undefined

Inherited from SQLiteColumn.generatedIdentity

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:56

### `Readonly` hasDefault

hasDefault: boolean

Inherited from SQLiteColumn.hasDefault

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:48

### `Readonly` isUnique

isUnique: boolean

Inherited from SQLiteColumn.isUnique

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:49

### `Readonly` keyAsName

keyAsName: boolean

Inherited from SQLiteColumn.keyAsName

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:42

### `Readonly` name

name: string

Inherited from SQLiteColumn.name

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:41

### `Readonly` notNull

notNull: boolean

Inherited from SQLiteColumn.notNull

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:44

### `Readonly` onUpdateFn

onUpdateFn: (() => SQL<unknown> | T["data"]) | undefined

Inherited from SQLiteColumn.onUpdateFn

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:47

### `Readonly` primary

primary: boolean

Inherited from SQLiteColumn.primary

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:43

### `Readonly` table

table: SQLiteTable

Inherited from SQLiteColumn.table

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/common.d.ts:38

### `Readonly` uniqueName

uniqueName: string | undefined

Inherited from SQLiteColumn.uniqueName

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:50

### `Readonly` uniqueType

uniqueType: string | undefined

Inherited from SQLiteColumn.uniqueType

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/column.d.ts:51

### `Static` `Readonly`[entityKind]

"[entityKind]": string

Overrides SQLiteColumn.[entityKind]

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/custom.d.ts:33

## Methods

### getSQL

- getSQL(): SQL

  #### Returns SQL

  Inherited from SQLiteColumn.getSQL

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sql/sql.d.ts:50

### getSQLType

- getSQLType(): string

  #### Returns string

  Overrides SQLiteColumn.getSQLType

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/custom.d.ts:40

### mapFromDriverValue

- mapFromDriverValue(value: T["driverParam"]): T["data"]

  #### Parameters

  - value: T["driverParam"]

  #### Returns T["data"]

  Overrides SQLiteColumn.mapFromDriverValue

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/custom.d.ts:41

### mapToDriverValue

- mapToDriverValue(value: T["data"]): T["driverParam"]

  #### Parameters

  - value: T["data"]

  #### Returns T["driverParam"]

  Overrides SQLiteColumn.mapToDriverValue

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/columns/custom.d.ts:42

### `Optional` shouldOmitSQLParens

- shouldOmitSQLParens?(): boolean

  #### Returns boolean

  Inherited from SQLiteColumn.shouldOmitSQLParens

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sql/sql.d.ts:51