# Function extractUsedTable

- extractUsedTable(
  table:
  | SQLiteTable<TableConfig>
  | SQLiteViewBase<string, boolean, ColumnsSelection>
  | SQL<unknown>
  | Subquery<string, Record<string, unknown>>,
  ): string[]

  #### Parameters

  - table:
    | SQLiteTable<TableConfig>
    | SQLiteViewBase<string, boolean, ColumnsSelection>
    | SQL<unknown>
    | Subquery<string, Record<string, unknown>>

  #### Returns 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/utils.d.ts:20