Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea: apoc.convert.asList #1396

Closed
jexp opened this issue Feb 1, 2020 · 2 comments
Closed

idea: apoc.convert.asList #1396

jexp opened this issue Feb 1, 2020 · 2 comments

Comments

@jexp
Copy link
Member

jexp commented Feb 1, 2020

leaves lists alone
converts all other values into a single element list

e.g. UNWIND apoc.convert.asList(someValue) AS element

@conker84
Copy link
Collaborator

@jexp can you provide a simple use-case?

@vga91
Copy link
Collaborator

vga91 commented Feb 18, 2025

We can use the apoc.convert.toList currently,
as the ConvertUtils.toList introduced here allows to convert non-list elements to singleton lists.

@vga91 vga91 closed this as completed Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants