Trait

org.squeryl.dsl

OneToMany

Related Doc: package dsl

Permalink

trait OneToMany[M] extends Query[M]

Source
ManyToMany.scala
Linear Supertypes
Query[M], Queryable[M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OneToMany
  2. Query
  3. Queryable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def assign(m: M): M

    Permalink

    m

    the object on the 'many side' to be associated with this Sets the foreign key of 'm' to refer to the primary key of the 'one' instance

    returns

    the 'm' parameter is returned

  2. abstract def associate(m: M): M

    Permalink

    Calls 'assign(m)' and persists the changes the database, by inserting or updating 'm', depending on if it has been persisted or not.

    Calls 'assign(m)' and persists the changes the database, by inserting or updating 'm', depending on if it has been persisted or not.

    returns

    the 'm' parameter is returned

  3. abstract def ast: ExpressionNode

    Permalink
    Definition Classes
    Query
  4. abstract def deleteAll: Int

    Permalink
  5. abstract def distinct: Query[M]

    Permalink
    Definition Classes
    Query
  6. abstract def dumpAst: String

    Permalink
    Definition Classes
    Query
  7. abstract def except(q: Query[M]): Query[M]

    Permalink
    Definition Classes
    Query
  8. abstract def exceptAll(q: Query[M]): Query[M]

    Permalink
    Definition Classes
    Query
  9. abstract def forUpdate: Query[M]

    Permalink
    Definition Classes
    Query
  10. abstract def intersect(q: Query[M]): Query[M]

    Permalink
    Definition Classes
    Query
  11. abstract def intersectAll(q: Query[M]): Query[M]

    Permalink
    Definition Classes
    Query
  12. abstract def invokeYield(rsm: ResultSetMapper, resultSet: ResultSet): M

    Permalink
    Attributes
    protected[org.squeryl]
    Definition Classes
    Query
  13. abstract def iterator: Iterator[M]

    Permalink
    Definition Classes
    Query
  14. abstract def name: String

    Permalink
    Definition Classes
    Queryable
  15. abstract def page(offset: Int, pageLength: Int): Query[M]

    Permalink
    Definition Classes
    Query
  16. abstract def statement: String

    Permalink

    returns a 'pretty' statement, i.e.

    returns a 'pretty' statement, i.e. values are printed instead of '?'

    Definition Classes
    Query
  17. abstract def union(q: Query[M]): Query[M]

    Permalink
    Definition Classes
    Query
  18. abstract def unionAll(q: Query[M]): Query[M]

    Permalink
    Definition Classes
    Query

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
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. def headOption: Option[M]

    Permalink
    Definition Classes
    Query
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def single: M

    Permalink

    Returns the first row of the query.

    Returns the first row of the query. An exception will be thrown if the query returns no row or more than one row.

    Definition Classes
    Query
  17. def singleOption: Option[M]

    Permalink

    Returns Some(singleRow), None if there are none, throws an exception if the query returns more than one row.

    Returns Some(singleRow), None if there are none, throws an exception if the query returns more than one row.

    Definition Classes
    Query
  18. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def where(whereClauseFunctor: (M) ⇒ LogicalBoolean)(implicit dsl: QueryDsl): Query[M]

    Permalink
    Definition Classes
    Queryable

Inherited from Query[M]

Inherited from Queryable[M]

Inherited from AnyRef

Inherited from Any

Ungrouped