Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Can the where constraint also be an Object? #20

@SeloSlav

Description

@SeloSlav
public Builder where(String key, String value) {
            this.baseQuery.whereKey = key;
            this.baseQuery.whereValue = value;
            return this;
        }

For example, I'm looking for Message objects where the field conversationObject (Pointer<Conversation>) matches a particular object, i.e. Conservation conservation = new Conversation();

final Subscription sub = new BaseQuery.Builder("Message")
                                .where("conversationObject", conservation)
                                // .addField("field_to_be_returned")
                                .build()
                                .subscribe();

Why can't I filter by objects instead of just strings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions