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

UNIQUE method is not working with axel-f #118

Open
nikita-prtsr opened this issue Aug 21, 2023 · 3 comments
Open

UNIQUE method is not working with axel-f #118

nikita-prtsr opened this issue Aug 21, 2023 · 3 comments

Comments

@nikita-prtsr
Copy link

nikita-prtsr commented Aug 21, 2023

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
@DeLaGuardo
Copy link
Contributor

DeLaGuardo commented Aug 21, 2023

Could you provide a way to reproduce? nvm, I know what is the problem

In fact, there is no such function in Axel-f as UNIQUE.

@max-prtsr
Copy link

@DeLaGuardo https://github.com/xapix-io/axel-f/blob/master/src/axel_f/excel/collections.cljc there is no such function :)

@DeLaGuardo
Copy link
Contributor

I got it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants