Skip to content

Is there a way to be more intelligent about translating prrojections? #368

Open
@bserdar

Description

@bserdar

This query is causing problems, because it is probably fetching the whole doc:

         projections.add(
                 Projection.project(
                        Projection.includeField("repositories.*.images.*.repositories.*.published"),
                         Projection.array("repositories",   and(
                                         withValue("published", eq, true),
                                         withValue("images.*.repositories.*.published", eq, true)
                                ),

It is only pulling published=true, but to compute that, we pull everything. Is there a way around it?

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