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
Hi, thanks this report.
It is limitation from base erlang:qlc module.
Any query string must be literal (determinated at compile time).
But, binding list may be variable.
list = [["a",1],["b",2]]
test_param = [L: list, Item: "b"]
Qlc.q("[X || X = [K,V] <- L, K =/= Item]", test_param)
Hi There,
I am trying to use the following:
list = [["a",1],["b",2]]
Qlc.q("[X || X = [K,V] <- L, K =/= Item]", L: list, Item: "b")
Issue is that I want to substitute this whole thing with a variable and it is not working, can you please help:
list = [["a",1],["b",2]]
test_variable = "[X || X = [K,V] <- L, K =/= Item]", L: list, Item: "b"
Qlc.q(test_variable)
The text was updated successfully, but these errors were encountered: