Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-116

Implement belongsToMany in HybridRelations

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Laravel
    • Labels:
      None

      The belongsToMany doesn't work on hybrid relationships.

      Doc: https://laravel.com/docs/10.x/eloquent-relationships#many-to-many

      The relations must be stored in an array in the MongoDB collection only, not in an SQL pivot table.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: