Skip to content

Many-To-Many Associations w/o Join Table #113

Closed
@Bharat311

Description

@Bharat311

Hi Guys,

I am currently in middle of migrating my app from Rails/Mongoid to Phoenix/MongoDB-Ecto.

I have some many-to-many associations in my project which do not have join tables between them.
Some of these are single-sided relations w/o inverse relation.

These kind of relations are easily supported in Mongoid and internally implemented as an array of BSON id’s saved on each document.

I was wondering if this package provides support for these associations ?

If not, any pointers to how to make it work would be really appreciated. I will also try to raise a PR for this, if it feels like a valid use-case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions