[storm] question on Store and DeferredStore

Stephen Waterbury waterbug at pangalactic.us
Thu Mar 27 20:32:32 GMT 2008


I have an app that uses twisted's adbapi and a homegrown ORM,
and I am experimenting with replacing this combination
with DeferredStore (from the twisted-integration branch).

The 'add' method of Store and DeferredStore takes a single object,
and the only question I've seen on this list about adding collections
of objects to a store got a recommendation to use 'execute'
if performance of a loop over add's is unacceptable.  Does that
mean there is no plan for Store or DeferredStore to grow a public
method that takes a collection of objects and adds them to a store?

I can certainly implement this as part of my app (I already had
something in my adbapi + ORM version) but just wanted to check if
there was anything planned or in a branch, etc.

Thanks!
Steve



More information about the storm mailing list