Skip to content

Can I use LIKE Operator with QueryCondition? #16

Open

Description

@xmlking

Can I use LIKE Operator with QueryCondition?
need to find all documents where first 3 letters match to a field in JSON.

Activity

  1. adityagnrao commented on Nov 29, 2018

    @adityagnrao
    Contributor

    all the operators in QueryCondition are applied on values (not fields), and like operator works only on string values.

    you can use "like" operator to match a string value starting with three letters, but not fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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