Answer the question
In order to leave comments, you need to log in
Node.js + MySQL how to name tables, columns?
I write backend on node, database on mysql. To make everything look in the same style, I use camelCase on the front / backend / database. is this correct for db? It seems that snake_case is accepted in mysql. How to be?
Answer the question
In order to leave comments, you need to log in
There is no need to use camelCase or snake_case. But since mysql converts all names to lowercase (case insensitive), all capital letters in the base are lost. So it's better - snake_case - it will be clear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question