FragmentExtensions
doobie.FragmentExtensions$package$.FragmentExtensions
final implicit class FragmentExtensions(fragment: Fragment) extends AnyVal
Attributes
- Source
- FragmentExtensions.scala
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
So we wouldn't have discrepancy between the 0-column and N-column variants.
So we wouldn't have discrepancy between the 0-column and N-column variants.
Attributes
- Source
- FragmentExtensions.scala
Returns the Query0 for the given SQLDefinition.
Returns the Query0 for the given SQLDefinition.
Example:
sql"""
SELECT ${t.characterExperience} FROM $t
WHERE ${t.user_id === userId} AND ${t.guid === character}
LIMIT 1
""".queryOf(t.characterExperience)
Attributes
- Source
- FragmentExtensions.scala
Returns the Query0 for the given Columns.
Returns the Query0 for the given Columns.
Example:
import tables.Characters as t
val columns = Columns((t.characterExperience.sqlDef, t.characterLevel.sqlDef))
sql"SELECT $columns FROM $t".queryOf(columns)
Attributes
- Source
- FragmentExtensions.scala
Exposes the raw SQL of this fragment.
In this article