Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

UNIQUE method is not working with axel-f #118

@nikita-prtsr

Description

@nikita-prtsr

The problem is the UNIQUE method is not working as described in wiki here - https://github.com/xapix-io/axel-f/wiki/UNIQUE

When I try to use this method I get Unknown function UNIQUE error.

Here is an example:

const context = {
  names: ['Mike', 'John', 'Max', 'Mike', 'Max']
}
expect(axel.compile('UNIQUE(names)')(context)).toEqual(['Mike', 'John', 'Max']) // Unknown function UNIQUE here

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