You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a parameter select of integer values 0,5,10,...etc. to be written to a neodash_parameter ($neodah_wrap_limit)
using a custom query: WITH range(0, 10 ,5) as limits UNWIND limits as limit with limit WHERE toString(limit) CONTAINS $input RETURN DISTINCT limit as value, limit as display ORDER BY limit ASC LIMIT 100
However it returns differing types 0=STRING, 5 and 10 are FLOATs.
If I make a table with the same type of query WITH range(0, 10 ,5) as limits UNWIND limits as limit RETURN DISTINCT limit as value, apoc.meta.cypher.type(limit), limit as display ORDER BY limit ASC LIMIT 100
I get all values to INTEGER as expected.
Could you please test it now? The numbers are all float instead of being integers, but at least they share the same type instead of being either string or numbers
I am trying to make a parameter select of integer values 0,5,10,...etc. to be written to a neodash_parameter ($neodah_wrap_limit)
using a custom query:
WITH range(0, 10 ,5) as limits UNWIND limits as limit with limit WHERE toString(limit) CONTAINS $input RETURN DISTINCT limit as value, limit as display ORDER BY limit ASC LIMIT 100
However it returns differing types 0=STRING, 5 and 10 are FLOATs.
If I make a table with the same type of query
WITH range(0, 10 ,5) as limits UNWIND limits as limit RETURN DISTINCT limit as value, apoc.meta.cypher.type(limit), limit as display ORDER BY limit ASC LIMIT 100
I get all values to INTEGER as expected.
I have attached the neodash report and a video.
kr Kirsten
neodash_test.json
neodash_test.mp4
The text was updated successfully, but these errors were encountered: