Trait

com.github.aselab.activerecord.inner.Relations

QuerySupport

Related Doc: package Relations

Permalink

trait QuerySupport[T <: AR, S] extends AnyRef

Source
Relations.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QuerySupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Inc[A <: AR] = (T) ⇒ ActiveRecord.Association[T, A]

    Permalink
  2. abstract type JoinedType <: TupleN

    Permalink
  3. type TupleN = AnyRef { def _1: T }

    Permalink

Abstract Value Members

  1. abstract def copyParams[R](params: Parameters[T, JoinedType, R]): Relation[T, R]

    Permalink
    Attributes
    protected
  2. abstract val manifest: ClassTag[T]

    Permalink
  3. abstract val parameters: Parameters[T, JoinedType, S]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. lazy val companion: ActiveRecordBaseCompanion[_, T]

    Permalink
  7. def conditions: List[(JoinedType) ⇒ dsl.LogicalBoolean]

    Permalink
  8. def copyParams[R](conditions: List[(JoinedType) ⇒ dsl.LogicalBoolean] = parameters.conditions, orders: List[(JoinedType) ⇒ dsl.ExpressionNode] = parameters.orders, selector: (JoinedType) ⇒ R = parameters.selector, includeAssociations: List[(T) ⇒ ActiveRecord.Association[T, AR]] = parameters.includeAssociations, pages: Option[(Int, Int)] = parameters.pages, isUnique: Boolean = parameters.isUnique, isReverse: Boolean = parameters.isReverse): Relation[T, R]

    Permalink
    Attributes
    protected
  9. def distinct: QuerySupport.this.type

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def includeAssociations: List[(T) ⇒ ActiveRecord.Association[T, AR]]

    Permalink
  15. def includes[A1 <: AR, A2 <: AR, A3 <: AR, A4 <: AR](a1: Inc[A1], a2: Inc[A2], a3: Inc[A3], a4: Inc[A4]): QuerySupport.this.type

    Permalink
  16. def includes[A1 <: AR, A2 <: AR, A3 <: AR](a1: Inc[A1], a2: Inc[A2], a3: Inc[A3]): QuerySupport.this.type

    Permalink
  17. def includes[A1 <: AR, A2 <: AR](a1: Inc[A1], a2: Inc[A2]): QuerySupport.this.type

    Permalink
  18. def includes[A <: AR](association: Inc[A]): QuerySupport.this.type

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isReverse: Boolean

    Permalink
  21. def isUnique: Boolean

    Permalink
  22. def limit(count: Int): QuerySupport.this.type

    Permalink

    returns limited results.

    returns limited results.

    Post.all.orderBy(p => p.updatedAt desc).limit(10)
    count

    max count

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def not(condition: (T) ⇒ dsl.LogicalBoolean): QuerySupport.this.type

    Permalink
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def orderBy(conditions: (T) ⇒ dsl.ExpressionNode*): QuerySupport.this.type

    Permalink
  28. def orders: List[(JoinedType) ⇒ dsl.ExpressionNode]

    Permalink
  29. def ordersExpression(m: JoinedType): List[dsl.ExpressionNode]

    Permalink
    Attributes
    protected
  30. def page(offset: Int, count: Int): QuerySupport.this.type

    Permalink

    returns page results.

    returns page results.

    Post.all.orderBy(p => p.updatedAt desc).page(10 * (pageNumber - 1), 10)
    offset

    offset count

    count

    max count

  31. def pages: Option[(Int, Int)]

    Permalink
  32. def paginate[R](query: dsl.Query[R]): Query[R]

    Permalink
    Attributes
    protected
  33. implicit def relationToThisType[R](self: Relation[T, R]): QuerySupport.this.type

    Permalink
    Attributes
    protected
  34. def reverse: QuerySupport.this.type

    Permalink
  35. def reverseOrder(m: JoinedType): List[dsl.OrderByExpression]

    Permalink
    Attributes
    protected
  36. def select[R](selector: (T) ⇒ R): Relation[T, R]

    Permalink
  37. def selector: (JoinedType) ⇒ S

    Permalink
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def where(condition: (T) ⇒ dsl.LogicalBoolean): QuerySupport.this.type

    Permalink
  44. def whereScope(m: JoinedType): WhereState[_ >: Unconditioned with Conditioned <: AnyRef]

    Permalink
    Attributes
    protected
  45. def wrap[A <: TupleN, R](f: (T) ⇒ R): (A) ⇒ R

    Permalink
    Attributes
    protected
  46. def wrapTuple1[A <: TupleN, R](f: ((T)) ⇒ R): (A) ⇒ R

    Permalink
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped