SqlDiscriminator

Discriminator for the branches of an interface/union

class Object
trait Matchable
class Any

Value members

Abstract methods

def discriminate(cursor: Cursor): Result[Type]

compute the concrete type of the value at the cursor

compute the concrete type of the value at the cursor

def narrowPredicate(tpe: Type): Option[Predicate]

yield a predicate suitable for filtering row corresponding to the supplied type

yield a predicate suitable for filtering row corresponding to the supplied type