hiddentao/squel — Issue #2: Delete query - table joins, etc.
Author: bminer
Created: 2012-03-06 17:06:08+00:00
State: open

squel.delete() should also support table joins and a way to indicate which tables' records are deleted.

For example,

```sql
/* Delete all messages for a user */
DELETE m.* FROM `messages` M
INNER JOIN `users` U ON (M.SenderUserID=U.UserID)
WHERE U.EmailAddress='abc@example.com'
```

I will try to implement this, but I am terrible with Coffee Script.