Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 667 Bytes

File metadata and controls

25 lines (16 loc) · 667 Bytes

Database naming

TL;DR

For data types: PascalCase

For data fields: camelCase

For option sets: SCREAMING_SNAKE_CASE

For option set fields:

  • Use regular texts when the field needs to be displayed to end-users.
  • Use rules like data fields for regular fields.
  • Use kebab-case if the Display field is used for URL param.

For further analysis, explanations and examples, please check the below documents out.

{% content-ref url="data-types-and-fields.md" %} data-types-and-fields.md {% endcontent-ref %}

{% content-ref url="option-sets.md" %} option-sets.md {% endcontent-ref %}