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

selectDistinctOn() — drizzle-orm Function Reference

Architecture documentation for the selectDistinctOn() function in db.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  629dd302_a3f5_ca4b_2314_108ea327f807["selectDistinctOn()"]
  2d57d0b7_4a77_af8e_8027_62a4fb11f803["GelDatabase"]
  629dd302_a3f5_ca4b_2314_108ea327f807 -->|defined in| 2d57d0b7_4a77_af8e_8027_62a4fb11f803
  de082ae7_ed27_1ff7_a0ea_26b4841c3633["with()"]
  de082ae7_ed27_1ff7_a0ea_26b4841c3633 -->|calls| 629dd302_a3f5_ca4b_2314_108ea327f807
  d2020b13_06e0_e575_3703_4a78bd11a479["withReplicas()"]
  d2020b13_06e0_e575_3703_4a78bd11a479 -->|calls| 629dd302_a3f5_ca4b_2314_108ea327f807
  style 629dd302_a3f5_ca4b_2314_108ea327f807 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/db.ts lines 486–486

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

Domain

Subdomains

Frequently Asked Questions

What does selectDistinctOn() do?
selectDistinctOn() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/db.ts.
Where is selectDistinctOn() defined?
selectDistinctOn() is defined in drizzle-orm/src/gel-core/db.ts at line 486.
What calls selectDistinctOn()?
selectDistinctOn() is called by 2 function(s): with, withReplicas.

Analyze Your Own Codebase

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

Try Supermodel Free