Packages

c

scalaql.syntax

FromAliasing

final class FromAliasing[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FromAliasing
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FromAliasing(self: From[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def as[U <: String with Singleton](name: U)(implicit A: scalaql.Tag[A], U: scalaql.Tag[U]): From[as[A, U]]

    Allows to alias this query input values, so that it could be provided to an aliased query.

    Allows to alias this query input values, so that it could be provided to an aliased query.

    Example:

    val peers: Query[From[Person as "people1"] with From[Person as "people2"]] = ???
    
    val actualResult = peers.toList.run(
      from(people1).as("people1") &
        from(people2).as("people2")
    )
    U

    singleton type of the alias

    name

    the alias (only it's singleton type is used)

    returns

    this query input aliased

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped