MappedQuery

final
class MappedQuery(query: SqlQuery)

Represents the mapping of a GraphQL query to an SQL query

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def fetch: F[Table]

Execute this query in F

Execute this query in F

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.

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

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

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

Return the value of the field fieldName in context from table

Return the value of the field fieldName in context from table

Concrete fields

lazy

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