How to store large JSON in PostgreSQL with Rails Attributes API
28-Aug-2019 2225
If you store large objects in the database (such as JSON), for example, data for big reports, then this can take up a lot of space. To reduce the size of data, you can compress and store in binary form.PostgreSQL has a bytea field type for storing such data. You can add bytea column in Rails using migration.
How to store large JSON in PostgreSQL with Rails Attributes API #ruby #rubydeveloper #rubyonrails #store #large #PostgreSQL #Rails #Attributes #api https://rubyonrails.ba/link/how-to-store-large-json-in-postgresql-with-rails-attributes-api