-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
Hi, I tried morph-rdb and it was great until my column name is "id". When a column name is "id" in postgresql, the generated sql as below assigns a alias table prifix (like v_2063 )to this column without adding this alias to the table:
SELECT v_2063."id" AS "x",'http://www.my.org/data#hasValue'::text AS "uri_hasValue350741132",v_2063."kpivalue" AS "y",31078738::integer AS "mappingid_x",31771827::integer AS "mappingid_y"
FROM "public"."kpi71"
WHERE "kpivalue" IS NOT NULL
then database will failed to execute the sql, is this a bug?