News for hackers. Stuff that matters.
Re:Django 3.1 by fastball on Tuesday August 04, 2020 @05:37AM (#24048260)
I use the JSONP column type in Postgres for data that is structured but user-supplied.
Re:Django 3.1 by jklein11 on Tuesday August 04, 2020 @07:30AM (#24048856)
The user is supplying json?
Re:Django 3.1 by fastball on Tuesday August 04, 2020 @08:31AM (#24049259)
There is a key-value interface so not directly.
Re:Django 3.1 by jklein11 on Saturday August 08, 2020 @08:03PM (#24096247)
Why not store this data into a relational database?
Re:Django 3.1 by fastball on Sunday August 09, 2020 @03:55AM (#24098081)
Because values can be different types (string, int, boolean).
Re:Django 3.1 by jklein11 on Tuesday August 11, 2020 @07:05PM (#24127006)
Can't you store them all as varchar? You could even have a type column if you wanted to enforce the types in some way at the application level.