Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
There will luckily be no shopping cart on this site.
it shows this error "the method 'add' does not exist on"
Yeah, it can catch you out occasionally, for things like shopping carts. SHould be fine for simple many_many relations
seeing as its the ID that will be unique. I shouldnt need to touch those relations
That should be find
The rows are always unique
That relationship is managed in a join table:
- ID | CustomerID | PropertyID
- 1 | 1 | 2
aside from an extra DB write, anyway 😄
what do you mean with duplicate records?
I think. I mean, it couldn't hurt