Skip to content

Use foreignkey.fetch syntax for foreign keys #19

@mcsimps2

Description

@mcsimps2

Instead of “await obj.foreignRef”, instead have “obj.foreignRef.fetch()” return the promise, and load this class with just the id so you can do “obj.foreignRef.id” without having to do a fetch.

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