# Class ExecuteResultSync<T>

#### Type Parameters

- T

#### Hierarchy

- QueryPromise<T>
  - ExecuteResultSync

- 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:20

##### Index

### Constructors

constructor

### Properties

[toStringTag]
[entityKind]

### Methods

catch
execute
finally
sync
then

## Constructors

### constructor

- new ExecuteResultSync<T>(resultCb: () => T): ExecuteResultSync<T>

  #### Type Parameters

  - T

  #### Parameters

  - resultCb: () => T

  #### Returns ExecuteResultSync<T>

  Overrides QueryPromise<T>.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/session.d.ts:23

## Properties

### [toStringTag]

"[toStringTag]": string

Inherited from QueryPromise.[toStringTag]

- 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/query-promise.d.ts:4

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

"[entityKind]": string

Overrides QueryPromise.[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/session.d.ts:22

## Methods

### catch

- catch<TResult = never>(
  onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null,
  ): Promise<T | TResult>

  Attaches a callback for only the rejection of the Promise.

  #### Type Parameters

  - TResult = never

  #### Parameters

  - `Optional` onRejected: ((reason: any) => TResult | PromiseLike<TResult>) | null

  #### Returns Promise<T | TResult>

  A Promise for the completion of the callback.

  Inherited from QueryPromise.catch

  - 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/query-promise.d.ts:5

### execute

- execute(): Promise<T>

  #### Returns Promise<T>

  Overrides QueryPromise.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:24

### finally

- finally(onFinally?: (() => void) | null): Promise<T>

  Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.

  #### Parameters

  - `Optional` onFinally: (() => void) | null

  #### Returns Promise<T>

  A Promise for the completion of the callback.

  Inherited from QueryPromise.finally

  - 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/query-promise.d.ts:6

### sync

- sync(): T

  #### Returns 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:25

### then

- then<TResult1 = T, TResult2 = never>(
  onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
  onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null,
  ): Promise<TResult1 | TResult2>

  Attaches callbacks for the resolution and/or rejection of the Promise.

  #### Type Parameters

  - TResult1 = T
  - TResult2 = never

  #### Parameters

  - `Optional` onFulfilled: ((value: T) => TResult1 | PromiseLike<TResult1>) | null
  - `Optional` onRejected: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null

  #### Returns Promise<TResult1 | TResult2>

  A Promise for the completion of which ever callback is executed.

  Inherited from QueryPromise.then

  - 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/query-promise.d.ts:7