Stream: cql
Topic: cql-execution string parameter
Vasyl Herman (Jan 19 2022 at 14:20):
Hello gentleness!
I found a good example on how to pass MeasurementPeriod
to cql-execution.
@Chris Moesel Could you please help with a String parameter? I've got a use case.
Thanks!
Chris Moesel (Jan 19 2022 at 14:36):
Hi @Vasyl Herman. For a string, I think you can just use a normal javascript string as the parameter value. So, in the example above, your parameters constant might look like this instead (for a fictitious parameter named Greeting
):
const parameters = {
Greeting : 'Hello World'
};
Vasyl Herman (Jan 19 2022 at 14:36):
Thanks! @Chris Moesel Appreciate it!!!
Last updated: Apr 12 2022 at 19:14 UTC