zio.blocks.sql.query
package zio.blocks.sql.query
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- JoinKind.scala
- Supertypes
- Known subtypes
object JoinKind
Attributes
- Companion
- trait
- Source
- JoinKind.scala
- Supertypes
- Self type
-
JoinKind.type
Attributes
- Source
- SqlQuery.scala
- Supertypes
object QueryRenderer
Attributes
- Source
- QueryRenderer.scala
- Supertypes
- Self type
-
QueryRenderer.type
object Rel
Relation between two tables: fromTable.fkColumn = toTable.pkColumn.
Relation between two tables: fromTable.fkColumn = toTable.pkColumn.
Attributes
Attributes
- Companion
- object
- Source
- SortOrder.scala
- Supertypes
- Known subtypes
object SortOrder
Attributes
- Companion
- trait
- Source
- SortOrder.scala
- Supertypes
- Self type
-
SortOrder.type
object SqlQuery
Attributes
- Companion
- class
- Source
- SqlQuery.scala
- Supertypes
- Self type
-
SqlQuery.type
Immutable query IR starting from a source table.
Immutable query IR starting from a source table.
This is the SELECT builder: joins are validated through typed Rels, rendering is performed by QueryRenderer through Frag.++ composition only, every identifier is validated and double-quoted, and values always bind as ? params.
Alias allocation is deterministic: t0 = source, t1..tN in join order (self-join safe — same Table joined twice gets distinct aliases). Rendering is performed by QueryRenderer and produces a Frag via Frag.++ composition only, using quoted identifiers and dialect placeholders.
Attributes
- Companion
- object
- Source
- SqlQuery.scala
- Supertypes
In this article