findTablesHandleIds() — supabase Function Reference
Architecture documentation for the findTablesHandleIds() function in Schemas.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 67a73498_91a3_6e06_0d6f_64c228b0844d["findTablesHandleIds()"] c873669a_f88c_bb16_2076_ffa1fc0fc1a7["getGraphDataFromTables()"] c873669a_f88c_bb16_2076_ffa1fc0fc1a7 -->|calls| 67a73498_91a3_6e06_0d6f_64c228b0844d style 67a73498_91a3_6e06_0d6f_64c228b0844d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Database/Schemas/Schemas.utils.ts lines 144–160
function findTablesHandleIds(
tables: PostgresTable[],
table_name: string,
column_name: string
): [string?, string?] {
for (const table of tables) {
if (table_name !== table.name) continue
for (const column of table.columns || []) {
if (column_name !== column.name) continue
return [String(table.id), column.id]
}
}
return []
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does findTablesHandleIds() do?
findTablesHandleIds() is a function in the supabase codebase.
What calls findTablesHandleIds()?
findTablesHandleIds() is called by 1 function(s): getGraphDataFromTables.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free