This commit is contained in:
Michael Snoyman 2014-09-18 08:40:05 +03:00
parent b1753e2605
commit 2af4aaf37d

View File

@ -970,7 +970,7 @@ instance PersistEntity a => SqlSelect (SqlExpr (Entity a)) (Entity a) where
where
process ed = uncommas $
map ((name <>) . fromDBName info) $
(entityID ed:) $
(sqlIdName ed:) $
map fieldDB $
entityFields ed
-- 'name' is the biggest difference between 'RawSql' and