# Class SQLitePreparedQuery<T>`Abstract`

#### Type Parameters

- T extends PreparedQueryConfig

#### Implements

- PreparedQuery

- 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/session.d.ts:28

##### Index

### Constructors

constructor

### Properties

query
[entityKind]

### Methods

all
execute
get
getQuery
mapAllResult
mapGetResult
mapResult
mapRunResult
run
values

## Constructors

### constructor

- new SQLitePreparedQuery<T extends PreparedQueryConfig>(
  mode: "sync" | "async",
  executeMethod: SQLiteExecuteMethod,
  query: Query,
  cache?: Cache,
  queryMetadata?: {
  tables: string[];
  type: "insert" | "select" | "update" | "delete";
  },
  cacheConfig?: WithCacheConfig,
  ): SQLitePreparedQuery<T>

  #### Type Parameters

  - T extends PreparedQueryConfig

  #### Parameters

  - mode: "sync" | "async"
  - executeMethod: SQLiteExecuteMethod
  - query: Query
  - `Optional` cache: Cache
  - `Optional` queryMetadata: { tables: string[]; type: "insert" | "select" | "update" | "delete" }
  - `Optional` cacheConfig: WithCacheConfig

  #### Returns SQLitePreparedQuery<T>

  - 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/session.d.ts:36

## Properties

### `Protected` query

query: Query

- 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/session.d.ts:31

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

"[entityKind]": string

- 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/session.d.ts:35

## Methods

### `Abstract` all

- all(placeholderValues?: Record<string, unknown>): Result<T["type"], T["all"]>

  #### Parameters

  - `Optional` placeholderValues: Record<string, unknown>

  #### Returns Result<T["type"], T["all"]>

  - 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/session.d.ts:43

### execute

- execute(
  placeholderValues?: Record<string, unknown>,
  ): ExecuteResult<T["type"], T["execute"]>

  #### Parameters

  - `Optional` placeholderValues: Record<string, unknown>

  #### Returns ExecuteResult<T["type"], T["execute"]>

  - 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/session.d.ts:48

### `Abstract` get

- get(placeholderValues?: Record<string, unknown>): Result<T["type"], T["get"]>

  #### Parameters

  - `Optional` placeholderValues: Record<string, unknown>

  #### Returns Result<T["type"], T["get"]>

  - 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/session.d.ts:45

### getQuery

- getQuery(): Query

  #### Returns Query

  Implementation of PreparedQuery.getQuery

  - 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/session.d.ts:40

### mapAllResult

- mapAllResult(_result: unknown, _isFromBatch?: boolean): unknown

  #### Parameters

  - _result: unknown
  - `Optional`_isFromBatch: boolean

  #### Returns unknown

  - 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/session.d.ts:44

### mapGetResult

- mapGetResult(_result: unknown, _isFromBatch?: boolean): unknown

  #### Parameters

  - _result: unknown
  - `Optional`_isFromBatch: boolean

  #### Returns unknown

  - 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/session.d.ts:46

### mapResult

- mapResult(response: unknown, isFromBatch?: boolean): unknown

  #### Parameters

  - response: unknown
  - `Optional` isFromBatch: boolean

  #### Returns unknown

  Implementation of PreparedQuery.mapResult

  - 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/session.d.ts:49

### mapRunResult

- mapRunResult(result: unknown, _isFromBatch?: boolean): unknown

  #### Parameters

  - result: unknown
  - `Optional`_isFromBatch: boolean

  #### Returns unknown

  - 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/session.d.ts:42

### `Abstract` run

- run(placeholderValues?: Record<string, unknown>): Result<T["type"], T["run"]>

  #### Parameters

  - `Optional` placeholderValues: Record<string, unknown>

  #### Returns Result<T["type"], T["run"]>

  - 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/session.d.ts:41

### `Abstract` values

- values(
  placeholderValues?: Record<string, unknown>,
  ): Result<T["type"], T["values"]>

  #### Parameters

  - `Optional` placeholderValues: Record<string, unknown>

  #### Returns Result<T["type"], T["values"]>

  - 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/session.d.ts:47