phpcr / phpcr-utils

A set of helper classes and command line commands you want to use with phpcr, but that are not part of the API itself
phpcr.github.io
Other
72 stars 30 forks source link

add support for limit in NodesUpdateCommand #92

Closed lsmith77 closed 10 years ago

dbu commented 10 years ago

this is fixed in #94 right?

dantleech commented 10 years ago

94 is about committing in batches, I think this is just about limiting the update to the first x nodes?

lsmith77 commented 10 years ago

yes .. however the use case is similar. the idea was that in order to handle a large batch, one could simply set a limit and run the command multiple times. not sure if there is really a common enough use case where one really just wants to modify the first X only.

dantleech commented 10 years ago

Well, I will sometimes do that in SQL for the purpose of damage limitation when things go wrong :)