selectDistinctOn() — drizzle-orm Function Reference
Architecture documentation for the selectDistinctOn() function in query-builder.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD e3483429_ee9e_f1d9_d170_1047a72c193c["selectDistinctOn()"] 0d0261da_c711_2751_2e5c_424aaf5ca574["QueryBuilder"] e3483429_ee9e_f1d9_d170_1047a72c193c -->|defined in| 0d0261da_c711_2751_2e5c_424aaf5ca574 61d8be98_3eda_861e_abc6_bd1569b7ed6a["with()"] 61d8be98_3eda_861e_abc6_bd1569b7ed6a -->|calls| e3483429_ee9e_f1d9_d170_1047a72c193c 59e789ad_1e31_1aa4_c714_98dd659657c7["getDialect()"] e3483429_ee9e_f1d9_d170_1047a72c193c -->|calls| 59e789ad_1e31_1aa4_c714_98dd659657c7 style e3483429_ee9e_f1d9_d170_1047a72c193c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/query-builders/query-builder.ts lines 119–119
selectDistinctOn(on: (PgColumn | SQLWrapper)[]): PgSelectBuilder<undefined>;
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does selectDistinctOn() do?
selectDistinctOn() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/query-builder.ts.
Where is selectDistinctOn() defined?
selectDistinctOn() is defined in drizzle-orm/src/pg-core/query-builders/query-builder.ts at line 119.
What does selectDistinctOn() call?
selectDistinctOn() calls 1 function(s): getDialect.
What calls selectDistinctOn()?
selectDistinctOn() is called by 1 function(s): with.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free