trait ManyToMany[O, A] extends Query[O]
This trait is what is referred by both the left and right side of a manyToMany relation. Type parameters are : O: the type at the "other" side of the relation A: the association type i.e. the entity in the "middle" of the relation
Object mapping to the "middle" entity are called "association objects"
this trait extends Query[O] and can be queried against like a normal query.
Note that this trait is used on both "left" and "right" sides of the relation, but in a given relation
- Alphabetic
- By Inheritance
- ManyToMany
- Query
- Queryable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
assign(o: O): A
Creates a new association object 'a' and calls assign(o,a)
-
abstract
def
assign(o: O, a: A): A
- returns
the 'a' parameter is returned
-
abstract
def
associate(o: O): A
Creates a new association object 'a' and calls associate(o,a)
Creates a new association object 'a' and calls associate(o,a)
Note that this method will fail if the association object has NOT NULL constraint fields appart from the foreign keys in the relations
-
abstract
def
associate(o: O, a: A): A
- returns
the 'a' parameter is returned
-
abstract
def
associationMap: Query[(O, A)]
- returns
a Query of Tuple2 containing all objects on the 'other side' along with their association object
-
abstract
def
associations: Query[A]
a Query returning all of this member's association entries
-
abstract
def
ast: ExpressionNode
- Definition Classes
- Query
-
abstract
def
dissociate(o: O): Boolean
Causes the deletion of the 'Association object' between this side and the other side of the relation.
Causes the deletion of the 'Association object' between this side and the other side of the relation.
- returns
true if 'o' was associated (if an association object existed between 'this' and 'o') false otherwise
-
abstract
def
dissociateAll: Int
Deletes all "associations" relating this "side" to the other
-
abstract
def
distinct: Query[O]
- Definition Classes
- Query
-
abstract
def
dumpAst: String
- Definition Classes
- Query
-
abstract
def
except(q: Query[O]): Query[O]
- Definition Classes
- Query
-
abstract
def
exceptAll(q: Query[O]): Query[O]
- Definition Classes
- Query
-
abstract
def
forUpdate: Query[O]
- Definition Classes
- Query
-
abstract
def
intersect(q: Query[O]): Query[O]
- Definition Classes
- Query
-
abstract
def
intersectAll(q: Query[O]): Query[O]
- Definition Classes
- Query
-
abstract
def
invokeYield(rsm: ResultSetMapper, resultSet: ResultSet): O
- Attributes
- protected[org.squeryl]
- Definition Classes
- Query
-
abstract
def
iterator: Iterator[O]
- Definition Classes
- Query
- abstract def kedL: KeyedEntityDef[O, _]
-
abstract
def
name: String
- Definition Classes
- Queryable
-
abstract
def
page(offset: Int, pageLength: Int): Query[O]
- 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[O]): Query[O]
- Definition Classes
- Query
-
abstract
def
unionAll(q: Query[O]): Query[O]
- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
headOption: Option[O]
- 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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
single: O
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[O]
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
where(whereClauseFunctor: (O) ⇒ LogicalBoolean)(implicit dsl: QueryDsl): Query[O]
- Definition Classes
- Queryable