# Class SQLiteView<TName, TExisting, TSelection>

#### Type Parameters

- TName extends string = string
- TExisting extends boolean = boolean
- TSelection extends ColumnsSelection = ColumnsSelection

#### Hierarchy

- SQLiteViewBase<TName, TExisting, TSelection>
  - SQLiteView

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

##### Index

### Constructors

constructor

### Properties

_
$inferSelect
[entityKind]

### Methods

getSQL

## Constructors

### constructor

- new SQLiteView<
  TName extends string = string,
  TExisting extends boolean = boolean,
  TSelection extends ColumnsSelection = ColumnsSelection,
  >(
  __namedParameters: {
  config: {
  name: TName;
  query: SQL<unknown> | undefined;
  schema: string | undefined;
  selectedFields: ColumnsSelection;
  };
  },
  ): SQLiteView<TName, TExisting, TSelection>

  #### Type Parameters

  - TName extends string = string
  - TExisting extends boolean = boolean
  - TSelection extends ColumnsSelection = ColumnsSelection

  #### Parameters

  - __namedParameters: {
    config: {
    name: TName;
    query: SQL<unknown> | undefined;
    schema: string | undefined;
    selectedFields: ColumnsSelection;
    };
    }

  #### Returns SQLiteView<TName, TExisting, TSelection>

  Overrides SQLiteViewBase<TName, TExisting, TSelection>.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/view.d.ts:46

## Properties

### _

_: {
brand: "View";
existing: TExisting;
name: TName;
selectedFields: TSelection;
viewBrand: string;
} & { viewBrand: "SQLiteView" }

Inherited from SQLiteViewBase._

- 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/view-base.d.ts:6

### `Readonly`$inferSelect

$inferSelect: InferSelectViewModel<
View<Assume<TName, string>, TExisting, TSelection>,
>

Inherited from SQLiteViewBase.$inferSelect

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

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

"[entityKind]": string

Overrides SQLiteViewBase.[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/view.d.ts:45

## Methods

### getSQL

- getSQL(): SQL<unknown>

  #### Returns SQL<unknown>

  Inherited from SQLiteViewBase.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:222