Skip to content

Requesting MyModel._collection fails the first time #4

@OKNoah

Description

@OKNoah

When doing

const collection = await MyModel._collection // returns null

it seems to always return null the first time. Running the function again will work properly. I guess it is not initialized full. Maybe a constructor is needed to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions