Home / Function/ isDateTimeColumn() — supabase Function Reference

isDateTimeColumn() — supabase Function Reference

Architecture documentation for the isDateTimeColumn() function in types.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  2d798994_ad51_42b4_2226_5d12baacb5e4["isDateTimeColumn()"]
  8b569225_6cd6_9d1c_0356_7e06bb83c474["getColumnType()"]
  8b569225_6cd6_9d1c_0356_7e06bb83c474 -->|calls| 2d798994_ad51_42b4_2226_5d12baacb5e4
  a16fbb66_b2e0_6fab_7672_ca749c2f2307["getColumnDefaultWidth()"]
  a16fbb66_b2e0_6fab_7672_ca749c2f2307 -->|calls| 2d798994_ad51_42b4_2226_5d12baacb5e4
  style 2d798994_ad51_42b4_2226_5d12baacb5e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/grid/utils/types.ts lines 48–50

export function isDateTimeColumn(type: string) {
  return TIMESTAMP_TYPES.indexOf(type.toLowerCase()) > -1
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free