db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Torque/Village issues selects without bind variables on MyPeer.doDelete(criteria)?
Date Tue, 25 Sep 2007 21:02:43 GMT
Brendan Miller wrote:
> If there's still a better way, I'd love to hear about it.
There is BasePeer.deleteAll() which bypasses Village when deleting
records. However, you will need to have a single column which has a
single value (IOW: a primary key) for this to work.

> Does Torque/Village always do a SELECT first before it DELETEs?
Unfortunately yes. This is a Village feature.
Bye, Thomas

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message