Michiel Meeuwissen wrote:
Paul van Beukering wrote:
What we would realy like to be added in the tag library is possibility to
update multiple records in one query:
something like:
<mm:updatenodescontainer type="scores">
<mm:constraint field="periodscore" operator=">" value="0" />
<mm:updatenodes>
<mm:setfield name="periodscore">0</mm:setfield>
</mm:updatenodes>
</mm:updatenodescontainer>
For now we create our own querys for it, also works.
I agree, something like this would be nice, and we have already thought
of it. It is not very simple to add in the taglib though, because the
search query framework is targeted at select-statements. But perhaps it
might not be very difficult to change things in the query framework
somewhat to make these kind of things possible. It may be worthwhile to
explore how involving that would actually be, because I've no idea. It
may be a few days work, or totally impossible without a near complete
rewrite....
but is it nessecary to do it through the query framework? Should it nog
be included in the StorageManager?
Ernst
Michiel
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers