ibdknox/Korma — Issue #2: tablename alias and quoting
Author: faenvie
Created: 2011-10-27 23:14:07+00:00
State: open

using hsqldb.

this select works:

SELECT o.id FROM "order" o;

but this select does not work:

SELECT order.id FROM "order";

i think, to solve this, korma could introduce
alias-naming for tables.

another solution would be to avoid reserved word
"order" as a table-name and make quoting of
table-names optional.

this select works:

SELECT order_.id FROM order_;

but this select does not work:

SELECT order_.id FROM "order_";
SELECT "order_".id FROM "order_";