I am trying to sort by "when" column - that is created by seneca-user.
The resulting query is something like this:
# SELECT * FROM sys_login ORDER BY when DESC;
ERROR: syntax error at or near "when"
LINE 1: SELECT * FROM sys_login ORDER BY when DESC;
the following query is running correctly:
# SELECT * FROM sys_login ORDER BY "when" DESC;
I am trying to sort by "when" column - that is created by seneca-user.
The resulting query is something like this:
the following query is running correctly: