trait OneToMany[M] extends Query[M]
- Source
- ManyToMany.scala
- Alphabetic
- By Inheritance
- OneToMany
- Query
- Queryable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def assign(m: M): M
- 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
- abstract def associate(m: M): M
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
- abstract def ast: ExpressionNode
- Definition Classes
- Query
- abstract def deleteAll: Int
- abstract def distinct: Query[M]
- Definition Classes
- Query
- abstract def dumpAst: String
- Definition Classes
- Query
- abstract def except(q: Query[M]): Query[M]
- Definition Classes
- Query
- abstract def exceptAll(q: Query[M]): Query[M]
- Definition Classes
- Query
- abstract def forUpdate: Query[M]
- Definition Classes
- Query
- abstract def intersect(q: Query[M]): Query[M]
- Definition Classes
- Query
- abstract def intersectAll(q: Query[M]): Query[M]
- Definition Classes
- Query
- abstract def invokeYield(rsm: ResultSetMapper, resultSet: ResultSet): M
- abstract def iterator: Iterator[M]
- Definition Classes
- Query
- abstract def name: String
- Definition Classes
- Queryable
- abstract def page(offset: Int, pageLength: Int): Query[M]
- Definition Classes
- Query
- abstract def statement: String
returns a 'pretty' statement, i.e.
returns a 'pretty' statement, i.e. values are printed instead of '?'
- Definition Classes
- Query
- abstract def union(q: Query[M]): Query[M]
- Definition Classes
- Query
- abstract def unionAll(q: Query[M]): Query[M]
- Definition Classes
- Query
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def headOption: Option[M]
- Definition Classes
- Query
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def single: M
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
- def singleOption: Option[M]
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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def where(whereClauseFunctor: (M) => LogicalBoolean)(implicit dsl: QueryDsl): Query[M]
- Definition Classes
- Queryable