Class | DataMapper::Associations::ManyToMany::Collection |
In: |
lib/dm-core/associations/many_to_many.rb
|
Parent: | Associations::OneToMany::Collection |
Remove every Resource in the m:m Collection from the repository
This performs a deletion of each Resource in the Collection from the repository and clears the Collection.
@return [Boolean]
true if the resources were successfully destroyed
@api public
Remove every Resource in the m:m Collection from the repository, bypassing validation
This performs a deletion of each Resource in the Collection from the repository and clears the Collection while skipping validation.
@return [Boolean]
true if the resources were successfully destroyed
@api public
Return the intermediaries between the source and the targets
@return [Collection]
the intermediary collection
@api public