I am trying to improve a work macro that we use.
What I am trying to do is to create a new value (false) if an element is not part of a data blaze table's column.
Here is a sample query for a {dbselect}
SELECT "false" AS clientyn
FROM clients
WHERE includes(client_ids, @clientID)
What I am asking is if there is away to get the opposite of includes, so that I can return false, since returning "true" gives a mistake when I want to use a row where I do not have any client IDs
I have tried to use NOT in front of includes but it does not resolve the issue.
Here is my table
XD sorry for blacking out everything but I am unable to show any of the ids or names