Marten::DB::Query::ManyToManySet(M)
Inherits Marten::DB::Query::Set / Marten::Template::Object / Marten::Template::CanDefineTemplateAttributes / Marten::DB::Query::Set::Any / Enumerable / Reference / Object
Represents a query set resulting from a many-to-many relation.
Constructors
Instance methods
Adds the given objects to the many-to-many relationship.
If the objects specified in objs are already in the relationship, they will be skipped and not added again.
add(*objs : M)
Adds the given objects to the many-to-many relationship.
If the objects specified in objs are already in the relationship, they will be skipped and not added again.
Removes the given objects from the many-to-many relationship.