js database field naming conventions

Solutions on MaxInterview for js database field naming conventions by the best coders in the world

showing results for - "js database field naming conventions"
Nathan
03 Apr 2019
1Two choices:
2
3> use camelCase everywhere, but keep using snake_case only for
4server-generated attributes
5 
6> always manually convert to camelCase after you get the data
7back from the network, and use camelCase everywhere.
8If you have to pick a global convention on both sides,
9JavaScript should win - ie, camelCase.