Implement belongsToMany in HybridRelations

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: