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

executeRaw() — drizzle-orm Function Reference

Architecture documentation for the executeRaw() function in query.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  64fbd690_3de5_c1f9_8363_b32c729c0fb2["executeRaw()"]
  765d2955_5987_484a_db1f_a5727e426ad2["SQLiteRelationalQuery"]
  64fbd690_3de5_c1f9_8363_b32c729c0fb2 -->|defined in| 765d2955_5987_484a_db1f_a5727e426ad2
  1e01498b_4b54_d881_60b2_41a635d4d78c["execute()"]
  1e01498b_4b54_d881_60b2_41a635d4d78c -->|calls| 64fbd690_3de5_c1f9_8363_b32c729c0fb2
  2d42819b_7d7c_138b_3d11_c2dc6fe415ea["sync()"]
  2d42819b_7d7c_138b_3d11_c2dc6fe415ea -->|calls| 64fbd690_3de5_c1f9_8363_b32c729c0fb2
  a62147a3_7eb0_2b31_787d_da8177a40ee4["_prepare()"]
  64fbd690_3de5_c1f9_8363_b32c729c0fb2 -->|calls| a62147a3_7eb0_2b31_787d_da8177a40ee4
  style 64fbd690_3de5_c1f9_8363_b32c729c0fb2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/query.ts lines 189–194

	executeRaw(): TResult {
		if (this.mode === 'first') {
			return this._prepare(false).get() as TResult;
		}
		return this._prepare(false).all() as TResult;
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does executeRaw() do?
executeRaw() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/query-builders/query.ts.
Where is executeRaw() defined?
executeRaw() is defined in drizzle-orm/src/sqlite-core/query-builders/query.ts at line 189.
What does executeRaw() call?
executeRaw() calls 1 function(s): _prepare.
What calls executeRaw()?
executeRaw() is called by 2 function(s): execute, sync.

Analyze Your Own Codebase

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

Try Supermodel Free