Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Cross-table linking #2

@stevearc

Description

@stevearc

Some way to have models reference models. One-to-one, one-to-many, and many-to-many should be supported.

Since we don't have the benefit of a SQL database, we'll have to consider the following:

  • Save and sync actions should probably not propagate
  • Backrefs are possible, but...hard. Maybe add those later?
  • Query/model option to eager-load referenced models
  • What happens if a value is set but the object doesn't exist in the DB? None? AttributeError?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions