Home / Function/ selectDistinctOn() — drizzle-orm Function Reference

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
  4476576a_d5af_b199_3fff_2a4faf12c699["selectDistinctOn()"]
  4d1210ae_09b8_d3bc_6c8e_d393ccd84bdd["QueryBuilder"]
  4476576a_d5af_b199_3fff_2a4faf12c699 -->|defined in| 4d1210ae_09b8_d3bc_6c8e_d393ccd84bdd
  d7049241_7ec2_9099_5cfb_81a55933a41d["with()"]
  d7049241_7ec2_9099_5cfb_81a55933a41d -->|calls| 4476576a_d5af_b199_3fff_2a4faf12c699
  64816d20_b2df_f8d6_1c83_933452969a7c["getDialect()"]
  4476576a_d5af_b199_3fff_2a4faf12c699 -->|calls| 64816d20_b2df_f8d6_1c83_933452969a7c
  style 4476576a_d5af_b199_3fff_2a4faf12c699 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/query-builder.ts lines 111–111

	selectDistinctOn(on: (GelColumn | SQLWrapper)[]): GelSelectBuilder<undefined>;

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does selectDistinctOn() do?
selectDistinctOn() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/query-builders/query-builder.ts.
Where is selectDistinctOn() defined?
selectDistinctOn() is defined in drizzle-orm/src/gel-core/query-builders/query-builder.ts at line 111.
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