problem with camelCase in getInsertId

Notice: This thread is very old.
Member | 4


in my application I run in problem with getInsertId() function. I'm using PostgreSQL as a database and I know that I have to use name in getInsertId function. The problem is that my sequence is in camelCase and nette throw this error:
SQLSTATE[42P01]: Undefined table: 7 ERROR: relation “chamber__chamber_idchamber_seq” does not exist. My script looks like this:


Is there a reason I can not use camelCase in getInsertId as a name of a sequece. I did not find anything in documentation.

Thank you for answer.