2 ms·
This is how ArrayField works in the postgres-specific fields: https://docs.djangoproject.com/en/5.1/ref/contrib/postgres/fields/#arrayfield https://docs.djangop
by Izkata 2y ago
This is how ArrayField works in the postgres-specific fields: https://docs.djangoproject.com/en/5.1/ref/contrib/postgres/fields/#arrayfield https://docs.djangoproject.com/en/5.1/ref/contrib/postgres/f...
Or falling back to a more generic JsonField elsewhere: https://docs.djangoproject.com/en/5.1/ref/models/fields/#jsonfield https://docs.djangoproject.com/en/5.1/ref/models/fields/#jso...
- globular-toast 2y agoWell yeah, but you could have just used a document store at that point. If you start using JSON field you open up the problems with document databases (namely you can't really do many to many). In any case, postgres being awesome is something you get without any ORM!