Query

scalasql.query.Query
See theQuery companion trait
object Query

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Query.type

Members list

Type members

Classlikes

trait DelegateQuery[R] extends Query[R]

Configuration for a Query that wraps another Query, delegating most of the abstract methods to it

Configuration for a Query that wraps another Query, delegating most of the abstract methods to it

Attributes

Supertypes
trait Query[R]
trait Renderable
class Object
trait Matchable
class Any
Known subtypes
class Ignore[Q, R]
class Update[Q, R]
class Single[R]
trait DelegateQueryable[Q, R] extends Query[R], WithSqlExpr[Q]

Configuration for a Query that wraps an expr Q and Queryable

Configuration for a Query that wraps an expr Q and Queryable

Attributes

Supertypes
trait WithSqlExpr[Q]
trait Query[R]
trait Renderable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Aggregate[Q, R]
trait Returning[Q, R]
class Impl[Q, R]
class Impl0[Q, R]
class InsertImpl[Q, R]
trait Select[Q, R]
trait Proxy[Q, R]
class CompoundSelect[Q, R]
class Values[Q, R]
class WithCte[Q, R]
class Proxy[Q, R]
class SimpleSelect[Q, R]
Show all
trait ExecuteUpdate[R] extends Query[R]

Configuration for a typical update Query

Configuration for a typical update Query

Attributes

Supertypes
trait Query[R]
trait Renderable
class Object
trait Matchable
class Any
Known subtypes
trait Delete[Q]
class Impl[Q]
trait InsertColumns[V, R]
class Impl[V, R]
trait InsertSelect[V, C, R, R2]
class Impl[V, C, R, R2]
trait InsertValues[V, R]
class Impl[V, R]
trait Update[Q, R]
class Impl[Q, R]
Show all
class QueryQueryable[Q <: Query[R], R]() extends Queryable[Q, R]

The default Queryable instance for any Query. Delegates the implementation of the Queryable methods to abstract methods on the Query, to allow easy overrides and subclassing of Query classes

The default Queryable instance for any Query. Delegates the implementation of the Queryable methods to abstract methods on the Query, to allow easy overrides and subclassing of Query classes

Attributes

Supertypes
trait Queryable[Q, R]
class Object
trait Matchable
class Any
class Single[R](val query: Query[Seq[R]]) extends DelegateQuery[R]

A Query that wraps another Query but sets queryIsSingleRow to true

A Query that wraps another Query but sets queryIsSingleRow to true

Attributes

Supertypes
trait DelegateQuery[R]
trait Query[R]
trait Renderable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def construct[R](q: Query[R], args: ResultSetIterator): R
def isSingleRow[R](q: Query[R]): Boolean
def walkLabels[R](q: Query[R]): Seq[List[String]]
def walkSqlExprs[R](q: Query[R]): Seq[Expr[_]]

Implicits

Implicits

implicit def QueryQueryable[R]: Queryable[Query[R], R]