Skip to content

Add "preload" feature #7

@pinx

Description

@pinx

We have to translate Query.preload and Repo.preload into something like
AQL subqueries

from p in Post,
  join: c in assoc(p, :comments),
  preload: [comments: c]

should translate into

FOR p IN posts
  FOR c IN comments
  FILTER p._key == c.post_id
RETURN { post : p, comments : c }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions