How to map PostgreSQL array field in Django ORM

后端 未结 6 931
天命终不由人
天命终不由人 2020-12-10 12:33

I have an array field in my PostrgreSQL database of type text. Is there a way to map this into a Django model ?

6条回答
  •  [愿得一人]
    2020-12-10 13:12

    djorm-ext-pgarray also offer queries http://www.niwi.be/2012/10/07/postgresql-array-fields-with-django/

提交回复
热议问题