|
I only want to show a table if $selector ='Visitors'. I have code which fails because of the where clause.
Yet if I use the same construction on a button component the where clause works as I expect.
How can I disable the table component from displaying when certain conditions apply? |
Answered by
lovasoa
Mar 27, 2025
Replies: 2 comments 1 reply
|
Hello ! It looks like you have a small syntax error in your first query. The correct syntax is: set SV='Visitors';
select 'table' as component, true as small, true as border, '' as empty_description where $selector=$SV; |
1 reply
Answer selected by
lozdown
Quotes in sqlSingle Quotes (')
Double Quotes (")
Unquoted Identifiers
Non-standard Behaviors
Here's a comparison table:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello !
It looks like you have a small syntax error in your first query. The correct syntax is: