# Function getViewConfig

- getViewConfig<
  TName extends string = string,
  TExisting extends boolean = boolean,
  >(
  view: SQLiteView<TName, TExisting>,
  ): {
  isAlias: boolean;
  isExisting: TExisting;
  name: TName;
  originalName: TName;
  query: TExisting extends true ? undefined : SQL<unknown>;
  schema: string | undefined;
  selectedFields: ColumnsSelection;
  }

  #### Type Parameters

  - TName extends string = string
  - TExisting extends boolean = boolean

  #### Parameters

  - view: SQLiteView<TName, TExisting>

  #### Returns {
  isAlias: boolean;
  isExisting: TExisting;
  name: TName;
  originalName: TName;
  query: TExisting extends true ? undefined : SQL<unknown>;
  schema: string | undefined;
  selectedFields: ColumnsSelection;
  }

  - 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/utils.d.ts:22