Hi,
I am having trouble with creating query with from/to parameters in angular that would get me data only from that period of time. Date is set in DB along with time, title, some text etc.
Request works fine, when dates are set firmly, but when i change it to parameters $parameter, request no longer works.
Could it be that you try to “use” the variables inside a string? You might need to end the string, reference the variable and then continue the string.
Hi, we found this workaround.
At the beginning we create local variable with the string, replace the dates for our parameters and then we add it to query.
As @tsi pointed out, there probably is problem with variables inside string.