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
Hi, I couldn't find a way in the docs to use the filter with an interval, and I was wondering if it's possible to do it like in this raw query:
query: str=""" DELETE FROM bridges WHERE last_heartbeat_date + (INTERVAL '1 second' * max_inactivity_period) <= NOW() AT TIME ZONE 'UTC';"""awaitTortoise.get_connection("default").execute_query(query)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I couldn't find a way in the docs to use the filter with an interval, and I was wondering if it's possible to do it like in this raw query:
Beta Was this translation helpful? Give feedback.
All reactions