DEV Community

Lew Yuburi
Lew Yuburi

Posted on

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.