Closed elgaard closed 13 years ago
I get MySQL syntax errors on
(CanteenRights).map(cri => DELETE (cri) WHERE (canteen EQ canteenArg))
The generated SQL is
=DELETE FROM canteen_rights AS cri WHERE canteen = ?
DELETE FROM canteen_rights WHERE canteen = 'foo';
works
DELETE cri FROM canteen_rights as cri WHERE canteen = 'foo';
work, but
DELETE FROM canteen_rights as cri WHERE canteen = 'foo';
gives a syntax error.
This is:
scala 2.89.1 ORM 2.0.1 Mysql 5.1.56 Debian/sid
I get MySQL syntax errors on
(CanteenRights).map(cri => DELETE (cri) WHERE (canteen EQ canteenArg))
The generated SQL is
=DELETE FROM canteen_rights AS cri WHERE canteen = ?
DELETE FROM canteen_rights WHERE canteen = 'foo';
works
DELETE cri FROM canteen_rights as cri WHERE canteen = 'foo';
work, but
DELETE FROM canteen_rights as cri WHERE canteen = 'foo';
gives a syntax error.
This is:
scala 2.89.1 ORM 2.0.1 Mysql 5.1.56 Debian/sid