Skip to content

Bug: Operator eq map with multiple properties #9

@amaster507

Description

@amaster507

Bug Report

What you did

Try to use an operator map like eq with multiple properties:

collection|user|:q[
  find[
    eq{
      value|username|:s|foo|,
      value|username|:s|bar|
    }
  ]
];

collection|user|:q[
  find[
    eq{
      value|username|:s|foo|,
      value|name|:s|bar|
    }
  ]
];

collection|user|:q[
  find[
    eq{
      value|username|:s|bar|
    }
  ]
];

What results

The query was shown as:

image

What was expected

The parsed query to match the queries inputed, or else an error to pop.

If the parsed query shown is a good query, then I expected results. All three queries shown to be parsed as the same query, but only the last query returns a response.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions