Home / Function/ formatValue() — supabase Function Reference

formatValue() — supabase Function Reference

Architecture documentation for the formatValue() function in PostgresVersionSelector.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  20bb355e_097a_fb63_e2ef_c23d5259fdca["formatValue()"]
  b110c0ed_f8d9_9f9f_b44e_70927961e735["PostgresVersionSelector()"]
  b110c0ed_f8d9_9f9f_b44e_70927961e735 -->|calls| 20bb355e_097a_fb63_e2ef_c23d5259fdca
  style 20bb355e_097a_fb63_e2ef_c23d5259fdca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx lines 37–45

const formatValue = ({
  postgres_engine,
  release_channel,
}: {
  postgres_engine: string
  release_channel: string
}) => {
  return `${postgres_engine}|${release_channel}`
}

Subdomains

Frequently Asked Questions

What does formatValue() do?
formatValue() is a function in the supabase codebase.
What calls formatValue()?
formatValue() is called by 1 function(s): PostgresVersionSelector.

Analyze Your Own Codebase

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

Try Supermodel Free