db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Abolhassani <Hassan.Abolhass...@xist-i.co.jp>
Subject Best way to implement a query in torque
Date Thu, 19 Feb 2004 08:56:44 GMT
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


Mime
View raw message