How to store large JSON in PostgreSQL with Rails Attributes API

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 #api https://rubyonrails.ba/single/how-to-store-large-json-in-postgresql-with-rails-attributes-api

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles