_getQuery() — drizzle-orm Function Reference
Architecture documentation for the _getQuery() function in query.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 87ccc279_3432_ddf1_9cef_b0dfb006de8d["_getQuery()"] 1020167a_b256_b43e_d8d1_71bd293c5e55["PgRelationalQuery"] 87ccc279_3432_ddf1_9cef_b0dfb006de8d -->|defined in| 1020167a_b256_b43e_d8d1_71bd293c5e55 841a8612_db2f_8c4a_7be2_05ccf6e288e7["getSQL()"] 841a8612_db2f_8c4a_7be2_05ccf6e288e7 -->|calls| 87ccc279_3432_ddf1_9cef_b0dfb006de8d 2b0b24a6_e5d7_1385_86d1_be24fe87feb9["_toSQL()"] 2b0b24a6_e5d7_1385_86d1_be24fe87feb9 -->|calls| 87ccc279_3432_ddf1_9cef_b0dfb006de8d 4fe5b8c4_3d15_8881_602b_e044ec70f270["buildRelationalQueryWithoutPK()"] 87ccc279_3432_ddf1_9cef_b0dfb006de8d -->|calls| 4fe5b8c4_3d15_8881_602b_e044ec70f270 style 87ccc279_3432_ddf1_9cef_b0dfb006de8d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/query-builders/query.ts lines 116–126
private _getQuery() {
return this.dialect.buildRelationalQueryWithoutPK({
fullSchema: this.fullSchema,
schema: this.schema,
tableNamesMap: this.tableNamesMap,
table: this.table,
tableConfig: this.tableConfig,
queryConfig: this.config,
tableAlias: this.tableConfig.tsName,
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does _getQuery() do?
_getQuery() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/query.ts.
Where is _getQuery() defined?
_getQuery() is defined in drizzle-orm/src/pg-core/query-builders/query.ts at line 116.
What does _getQuery() call?
_getQuery() calls 1 function(s): buildRelationalQueryWithoutPK.
What calls _getQuery()?
_getQuery() is called by 2 function(s): _toSQL, getSQL.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free