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

sq2() — drizzle-orm Function Reference

Architecture documentation for the sq2() function in with.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  bcc047ae_a093_0932_0f98_ebe70083d7cd["sq2()"]
  a4706dce_ae84_706c_8ff7_845a0df354a1["with.ts"]
  bcc047ae_a093_0932_0f98_ebe70083d7cd -->|defined in| a4706dce_ae84_706c_8ff7_845a0df354a1
  style bcc047ae_a093_0932_0f98_ebe70083d7cd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/type-tests/pg/with.ts lines 322–322

	}).as(() => sql`select id from providers`);

Domain

Subdomains

Frequently Asked Questions

What does sq2() do?
sq2() is a function in the drizzle-orm codebase, defined in drizzle-orm/type-tests/pg/with.ts.
Where is sq2() defined?
sq2() is defined in drizzle-orm/type-tests/pg/with.ts at line 322.

Analyze Your Own Codebase

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

Try Supermodel Free