You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Hassan Abolhassani <Ha...@xist-i.co.jp> on 2004/02/19 09:56:44 UTC
Best way to implement a query in torque
Hi,
What is the best way to implement a query like below in torque:
delete from admin where position('test' in user_id) != 0
is it possible to say something like below:
Criteria crit = new Criteria();
crit.add("position('test' in user_id)", 0, Criteria.NOT_EQUAL);
AdminPeer.executeQuery(crit);
Thanks
Hassan
___
xist-i Japan, Inc.
アボルハッサニ ハッサン Dr. Hassan Abolhassani [Technology network]
株式会社 レーザーフィッシュ・ジャパン
Hassan.Abolhassani@razorfish.co.jp
Tel:03-5436-9980 Fax:03-5436-9126
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org