Ident

io.getquill.ast.Ident
See theIdent companion class
object Ident

Ident represents a single variable name, this typically refers to a table but not always. Invisible identities are a rare case where a user returns an embedded table from a map clause:

 case class Emb(id: Int, name: String) case class Parent(id: Int,
name: String, emb: Emb) case class GrandParent(id: Int, par: Parent)

query[GrandParent] .map(g => g.par).distinct .map(p => (p.name,
p.emb)).distinct .map(tup => (tup._1, tup._2)).distinct } 

In these situations, the identity whose properties need to be expanded in the ExpandNestedQueries phase, needs to be marked invisible.

Attributes

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

Members list

Type members

Classlikes

object Opinionated

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply(name: String, quat: => Quat): Ident
def unapply(p: Ident): Some[(String, Quat)]