NonEmptyMappedQuery

final class NonEmptyMappedQuery(query: SqlQuery) extends MappedQuery

MappedQuery implementation for a non-trivial SQL query

Source:
SqlMapping.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def containsRoot(fieldName: String, resultName: Option[String]): Boolean
def count(context: Context, table: Table): Int
def fetch: F[Table]

Execute this query in F

Execute this query in F

Source:
SqlMapping.scala
def group(context: Context, table: Table): Iterator[Table]

Yield a list of Tables one for each of the subobjects of the context type contained in table.

Yield a list of Tables one for each of the subobjects of the context type contained in table.

Source:
SqlMapping.scala
def leafIndex(context: Context, fieldName: String): Int
def narrow(narrowedContext: Context, table: Table): Table

Yield a Table containing only subojects of the narrowedContext type

Yield a Table containing only subojects of the narrowedContext type

Source:
SqlMapping.scala
def narrowsTo(narrowedContext: Context, table: Table): Boolean

Does table contain subobjects of the type of the narrowedContext type

Does table contain subobjects of the type of the narrowedContext type

Source:
SqlMapping.scala
def selectAtomicField(context: Context, fieldName: String, table: Table): Result[Any]

Concrete fields

lazy val fragment: Fragment

The query rendered as a Fragment with all table and column aliases applied

The query rendered as a Fragment with all table and column aliases applied

Source:
SqlMapping.scala