Skip to content

references #4

@tobsn

Description

@tobsn

hey there!
thanks for turning on the issue tracker! :)

would you mind making up some quick examples for those two features?

  • Efficient references to another document, and an efficient way to load it (with one query if possible)
  • Dynamic References (AKA, save a query to execute later)

as example data:
i have users who own products and in an overview i need to load the products under each user. is it possible to dynamically load products into the user?
right now i already have a base object class with my custom findassoc etc. (to prepare data) and i think i would go the way that i load the object of the user and copy the custom findassoc functions into the object to overwrite the base class functions and within those products specific find functions i would load the products object and find() by the users id.

any other ideas?

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