DEV Community

Lew Yuburi
Lew Yuburi

Posted on

1

How do you store large forms in database?

Hi, I have a huge form (for diagnosis, a lot of questions) and I need to store the answers into database, what's the best way for do this? Thanks in advance

Edit: I'm using a SQL database, PostgreSQL

Top comments (3)

Collapse
 
rhymes profile image
rhymes

What format is the data in? What database do you have available?

Collapse
 
lewisyuburi profile image
Lew Yuburi

SQL database, PostgreSQL

Collapse
 
rhymes profile image
rhymes

Cool, how is the data structured? You might get away by serializing it in JSON on a jsonb column and then load it again.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay