Skip to content

Add relational filter conditions #2496

Closed
@mtrezza

Description

@mtrezza

New Feature / Enhancement Checklist

Current Limitation

The filter dialog in the data browser currently only allows to filter for fields in the current class. It's not possible to add a filter condition that relates to another class.

Feature / Enhancement Description

Add filter conditions that relate to other classes. Since Parse Dashboard knows the entire schema, it also knows which other classes have a pointer to the currently displayed class; it can use that information to allow for filtering by fields of these related classes.

The filter dialog could be extended with a drop-down for related classes and its fields.

Example Use Case

A user in the _User class may have

  • purchases in a Purchase class with a _User pointer field
  • transactions in a Transaction class with a _User pointer field

To filter all users who

  • made purchases of shoes (in Purchase class)
  • with a transaction using a credit card (in Transaction class)

The filter dialog could look like this:

image

Alternatives / Workarounds

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$100Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions