Re: Trigger function cannot reference field name with capital letter

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Trigger function cannot reference field name with capital letter
Дата
Msg-id 53ECBC6C.20506@aklaver.com
обсуждение исходный текст
Ответ на Re: Trigger function cannot reference field name with capital letter  (Patrick Dung <patrick_dkt@yahoo.com.hk>)
Список pgsql-general
On 08/13/2014 11:10 PM, Patrick Dung wrote:
> Thanks all for the help.
>
> BTW, letter casing is just a preference.
> Some people liked to use all small caps, some liked to use all big caps.
> I sometimes found that mixed case is more meaningful for the filed (eg.
> serialnumber vs serialNumber)
>
> What is your preference or suggestion?

My preference is lower case with underscores between words. I stay away
from CamelCaps for the reasons Pavel mentioned. Probably the most
important thing is to be consistent in your style.







--
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: dushy
Дата:
Сообщение: Re: Postgres 9.3 tuning advice
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Pass where clause to a function