Fallback value of Named Query

I can’t seem to find out where to set the fallback value for a Named Query…
I need to be able to return a string value if no rows are returned. Did I miss something obvious?

Fallback is only an option on scalar queries, since they directly return a value, rather than a result set. You’d have to wrap runNamedQuery in a project scoped function if you want to specify a fallback result set.

3 Likes