SqlRoot

case class SqlRoot(fieldName: String, orootTpe: Option[Type], mutation: Mutation)(implicit pos: SourcePos) extends RootMapping
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def cursor(query: Query, env: Env, resultName: Option[String]): Stream[F, Result[(Query, Cursor)]]
def stripCompiled(query: Query, context: Context): Query

Operators which can be compiled to SQL are eliminated here, partly to avoid duplicating work programmatically, but also because the operation isn't necessarily idempotent and the result set doesn't necessarily contain the fields required for the filter predicates.

Operators which can be compiled to SQL are eliminated here, partly to avoid duplicating work programmatically, but also because the operation isn't necessarily idempotent and the result set doesn't necessarily contain the fields required for the filter predicates.

Source:
SqlMapping.scala

Inherited methods

Inherited from:
RootMapping
Source:
mapping.scala
Inherited from:
Product
final def run(query: Query, env: Env, resultName: Option[String]): Stream[F, Result[(Query, Cursor)]]

Run this RootMapping's mutation, if any, then construct and return the result cursor along with the [possibly updated] query.

Run this RootMapping's mutation, if any, then construct and return the result cursor along with the [possibly updated] query.

Inherited from:
RootMapping
Source:
mapping.scala

Implicits

Implicits

implicit val pos: SourcePos