Sign in
Log inSign up

Is it wrong to have a table with only one column?

Kareem's photo
Kareem
·Mar 7, 2018

For example Languages (ID of Language, Language) or Cities (ID of city, city name) instead of using for example in the backend a JSON file that holds all the data.

So what's better using a single table in a database or use JSON file?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct