How to avoid empty strings in db?

前端 未结 0 1611
别那么骄傲
别那么骄傲 2021-02-15 21:08

I have a REST API written in Spring that inserts data into a PostgreSQL database. I would like to avoid empty strings in the database -- and let empty fields be null instead.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题