Querying From-To-Dates
- Now, of course the real query to get the currently active terms needs to check
valid_from
andvalid_until
:
SELECT uuid FROM term WHERE valid_from < now() AND valid_until > now();
valid_from
and valid_until
:SELECT uuid FROM term WHERE valid_from < now() AND valid_until > now();