Standard naming conventions between list fields and database columns.
Field names are transformed into database column names as following:
- The full name is split into prefix and suffix (following to the last dot).
- All dots in the prefix and suffix are converted into underscores.
- Before each upper case letter followed by lower case an underscore is inserted.
E.g:
firstName -> first_name
location.address -> location.address
client.group.id -> client_group.id
Field names are transformed into database column aliases as following:
- All dots are converted into underscores.
- Before each upper case letter followed by lower case an underscore is inserted.
E.g:
lastName -> last_name
location.address -> location_address
client.group.id -> client_group_id
author: Rein Raudjärv since: 1.1 |