# Function getTableConfig

- getTableConfig<TTable extends SQLiteTable<TableConfig>>(
  table: TTable,
  ): {
  checks: Check[];
  columns: SQLiteColumn<any, {}, {}>[];
  foreignKeys: ForeignKey[];
  indexes: Index[];
  name: string;
  primaryKeys: PrimaryKey[];
  uniqueConstraints: UniqueConstraint[];
  }

  #### Type Parameters

  - TTable extends SQLiteTable<TableConfig>

  #### Parameters

  - table: TTable

  #### Returns {
  checks: Check[];
  columns: SQLiteColumn<any, {}, {}>[];
  foreignKeys: ForeignKey[];
  indexes: Index[];
  name: string;
  primaryKeys: PrimaryKey[];
  uniqueConstraints: UniqueConstraint[];
  }

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