Skip to content

Custom repository collection/table name #2844

@JesusTheHun

Description

@JesusTheHun

Currently the name of the collection is specified in the model, through the setting property of the model decorator.

I have two repositories, one storing the current version of the data, the other storing all versions of the data. Right now when I use the create method from those repo, they try to save into the same collection, creating errors.

I would like to store the model in different collections.

Also see this issue, probably code related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions