Skip to content

[Discussion] Select fields does not propagate to the Mongo Layer  #2653

Closed
@shivangagarwal

Description

@shivangagarwal

Hi,

Is there a specific reason as to why the select fields are not propagated to the Database Controller layer and further passed on to Mongo? Currently all the fields are fetched from Mongo and then sliced at the parse-server level, but we can just pass the select fields to the Mongo itself. By adding these changes, the queries are much much faster.

Let me know if i am missing something. If this is fine, i can provide with a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions