eaigner / hood

Database agnostic ORM for Go
MIT License
710 stars 52 forks source link

Implement DeleteFrom method #50

Closed eaigner closed 11 years ago

eaigner commented 11 years ago

Implement a DeleteFrom method, to allow statements like

DELETE FROM table WHERE condition

Proposed syntax:

hd.Where("a", "=", "b").DeleteFrom("table")