I have an update where a particular field value needs to be changed for a
group of users.   I can retrieve the collection, iterate through and do
individual updates on each record, but that doesn't seem very efficient.

Is there a way to do a mass update or something like  "Update Some_Table Set
Field1 = 'foo' where Field1 = 'bar' ) without doing a custom query - perhaps
a broker.setCollectionByQuery() kind of thing?  

If so, could someone please provide a code snippet or point to an example?
[I'm using the PersistenceBroker]

I've reviewed the FAQ and PersistenceBroker documentation, but didn't see
anything that addressed this (If it's there and I overlooked it, a pointer
to the location would be great).

Melonie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to