You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECTcount('*') >0as"data_1"FROM"upload"WHERE
NOT EXISTS ( SELECT id FROM stats_view_refresh) OR
("upload".uploaded)::TIMESTAMP> ( SELECTmax("stats_view_refresh".refresh_time) as"data_1"FROM"stats_view_refresh" )
LIMIT1
Which I'd see as being implemented so you'd do something like:
Which is almost there but does something whacky with the generated SQL:
SELECTcount('*') >0as"data_1"FROM"upload"WHERE
NOT EXISTS(SELECT"stats_view_refresh".id as"data_1"FROM"stats_view_refresh") OR"upload".uploaded IS NOT NULL> ( SELECTmax("stats_view_refresh".refresh_time) as"data_1"FROM"stats_view_refresh" )
LIMIT1
Not urgent, I only found this when testing with an empty DB and have dealt with it in some slightly less elegant code.
If you don't get around to it I'll try and take a look next week.
The text was updated successfully, but these errors were encountered:
I've worked around this in code but I needed to add a "NOT EXISTS () to something like:
which is basically what the #514 was for, and is implemented as:
So it becomes:
Which I'd see as being implemented so you'd do something like:
I thought it could be done like:
Which is almost there but does something whacky with the generated SQL:
Not urgent, I only found this when testing with an empty DB and have dealt with it in some slightly less elegant code.
If you don't get around to it I'll try and take a look next week.
The text was updated successfully, but these errors were encountered: