Sample Header Ad - 728x90

Should I not use camelCase in my column names?

16 votes
2 answers
40518 views
I am creating a GraphQL API using Node.js, which foces me to return all the field names in camelCase. In my PostgreSQL database, I currently have all my columns named following a camelCase convention, but I am thinking: is that the best idea? Should I use snake_case in the database columns and convert them in the back-end?
Asked by Luiz Felipe (269 rep)
Oct 13, 2019, 02:06 AM
Last activity: Jul 19, 2022, 12:26 PM