Am 21.01.23 um 10:53 schrieb 'Adam Johnson' via Django developers (Contributions to Django itself):
A Django wrapper would actually be more complicated. You’d need to understand both the PostgreSQL and Django function docs, and you might not be sure Django does anything special besides call the SQL function.
Well since this was posted in dev mailing list, thats exactly my argument - if datetime range calculations like done with AGE is seen as useful in general, it should be done for all db vendors. But thats much more involved and prolly needs as_db_xy() overloads with correct type coersion, so not so easy to extend on individual project basis (except for postgres, where it is 2 lines away).
-- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ae05c31f-a5e3-385d-cc1a-71b888123fee%40netzkolchose.de.