-
If I have a table component as the last (or only) item on the page and the associated table query returns no rows SQLPage does not display the "empty_description" field. Example code
|
Beta Was this translation helpful? Give feedback.
Answered by
lovasoa
Aug 29, 2025
Replies: 1 comment 1 reply
-
Hi! if your table has a row (even with a single column and a value of NULL), then it is not considered empty. You should add a where condition to the query that computes the total. select 'table' as component;
select name, value, total from products;
select sum(total) as total from products having count(*)>0; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lozdown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! if your table has a row (even with a single column and a value of NULL), then it is not considered empty. You should add a where condition to the query that computes the total.