Skip to content
This repository

there is no remove many-to-many relationship method for fActiveRecords #106

Open
jeffturcotte opened this Issue · 0 comments

1 participant

Jeff Turcotte
Jeff Turcotte
Collaborator

Ticket #724 by unstoppablecarl

you have to write something like this every time class User{ public function removeFromGroup($group){ $result = $db→query("DELETE FROM users_groups WHERE user_id= %i AND group_id = %i", $this→getId(), $group→getId()); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.