Skip to content

[🐛] Cannot execute query with inequality operator and orderBy different field #8534

Open
@vpishuk

Description

@vpishuk

Issue

Error is happenning when executing a compound query.
Error caused by this line

`Invalid query. Initial Query.orderBy() parameter: ${orderFieldPath} has to be the same as the Query.where() fieldPath parameter(s): ${filterFieldPath} when an inequality operator is invoked `,

Describe your issue here:
I query with where clause that has inequality operator and a different orderBy clause. It works well with an official JS SDK.

Environment

Bare react-native app.

  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions