Skip to content

Add possibility to filter by one field with QueryRequest #31

@dmytro-kashcheiev

Description

@dmytro-kashcheiev

In the current implementation to query something with a single field filter, CompositeFilter.all([...]) should be used:

var queryResult = client
    .select<Entity>()
    .where(all([
  	eq("field", "value"),
    ]))
    .post();

Consider adding QueryRequest<M> where(Filter filter) method to QueryRequest.

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