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

select() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8995ca38_e96f_9e8c_c35e_cdf5ac90572c["select()"]
  7b170b6b_8109_4580_dc12_4da0d59d8d8d["PgDatabase"]
  8995ca38_e96f_9e8c_c35e_cdf5ac90572c -->|defined in| 7b170b6b_8109_4580_dc12_4da0d59d8d8d
  9373d797_a688_263a_ed31_d047e2450a06["with()"]
  9373d797_a688_263a_ed31_d047e2450a06 -->|calls| 8995ca38_e96f_9e8c_c35e_cdf5ac90572c
  99f2c80b_960e_3f9d_a9fe_c8c1b4967d81["withReplicas()"]
  99f2c80b_960e_3f9d_a9fe_c8c1b4967d81 -->|calls| 8995ca38_e96f_9e8c_c35e_cdf5ac90572c
  style 8995ca38_e96f_9e8c_c35e_cdf5ac90572c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/db.ts lines 435–435

	select(): PgSelectBuilder<undefined>;

Domain

Subdomains

Frequently Asked Questions

What does select() do?
select() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/db.ts.
Where is select() defined?
select() is defined in drizzle-orm/src/pg-core/db.ts at line 435.
What calls select()?
select() 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