Skip to content

Why is my camelCase name not working in Postgres functions or RLS policies?

在给函数、表、列和变量命名时,如果可能的话,尽量避免使用"camelCase"(大写字母)。你在定义或使用"camelCase"时必须用双引号括起来。你会忘的。改用snake_case,让你的生活更轻松。

🌐 Avoid camelCase (upper case letters) if possible when naming functions, tables, columns, and variables. You must enclose "camelCase" in double quotes when you define it or use it. YOU WILL FORGET. Use snake_case instead and make your life easier.

提醒 Prisma 用户,你们很可能得应付它。

🌐 Note to Prisma users, you will likely have to deal with it.