Home / Function/ extractDbSchema() — supabase Function Reference

extractDbSchema() — supabase Function Reference

Architecture documentation for the extractDbSchema() function in ServiceStatus.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  b5b19ac5_00a3_30fd_d9a4_fb91152faecc["extractDbSchema()"]
  bf567b4b_ab31_cfc7_496c_c57314ca9cb2["ServiceStatus()"]
  bf567b4b_ab31_cfc7_496c_c57314ca9cb2 -->|calls| b5b19ac5_00a3_30fd_d9a4_fb91152faecc
  01d8dbbb_e1a8_0950_c995_39d887c0c124["ServiceStatus()"]
  01d8dbbb_e1a8_0950_c995_39d887c0c124 -->|calls| b5b19ac5_00a3_30fd_d9a4_fb91152faecc
  style b5b19ac5_00a3_30fd_d9a4_fb91152faecc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Home/ServiceStatus.tsx lines 81–86

export const extractDbSchema = (response: ServiceHealthResponse | undefined) => {
  if (response?.info && 'db_schema' in response.info) {
    return response.info.db_schema
  }
  return undefined
}

Subdomains

Frequently Asked Questions

What does extractDbSchema() do?
extractDbSchema() is a function in the supabase codebase.
What calls extractDbSchema()?
extractDbSchema() is called by 2 function(s): ServiceStatus, ServiceStatus.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free