The singleton of the join table
The foreign key in the join table that refers to this mapper's primaryKey.
The foreign key in the join table that refers to the other mapper's primaryKey
The singleton of the other mapper
Any QueryParams to limit entries in the join table (other than matching thisField to primaryKey) To limit children based on fields in the other table (not the join table), it is currently necessary to point the join mapper to a view which pulls the join table's fields as well as fields of the other table.
(Changed in version 2.8.0) ++
creates a new buffer. Use ++=
to add an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) -
creates a new buffer. Use -=
to remove an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) -
creates a new buffer. Use -=
to remove an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) --
creates a new buffer. Use --=
to remove an element from this buffer and return that buffer itself.
Get the List backing this Buffer.
Deletes all join rows, including those marked for removal.
Deletes all join rows, including those marked for removal. Returns true if both succeed, otherwise false
The singleton of the join table
Get the list of instances of joinMeta
The foreign key in the join table that refers to the other mapper's primaryKey
The singleton of the other mapper
Any QueryParams to limit entries in the join table (other than matching thisField to primaryKey) To limit children based on fields in the other table (not the join table), it is currently necessary to point the join mapper to a view which pulls the join table's fields as well as fields of the other table.
Discard the cached state of this MappedManyToMany's children and reinitialize it from the database
Save the state of this MappedManyToMany to the database.
Save the state of this MappedManyToMany to the database. This will do the following: 1) Prune join table instances whose "child" foreign key's value is its defaultValue, i.e., -1 2) Set all join table instances' "parent" foreign key 3) Delete all join table instances whose child instance was removed 4) Save all child instances 5) If step 3 succeeds save all join instances 6) Return true if steps 2-4 all returned true; otherwise false
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
This is the base class to extend for fields that track many-to-many relationships.