[py-lmdb] Re: cursor.putmulti

  • From: David Wilson <dw@xxxxxxxx>
  • To: py-lmdb@xxxxxxxxxxxxx
  • Date: Thu, 29 May 2014 12:25:51 +0000

On Thu, May 29, 2014 at 05:18:45AM -0700, Dinesh Vadhia wrote:
> Hi! Get an attribute error using cursor.putmulti:
>  
>         with env.begin(db, write=True) as txn:
>             cursor = txn.cursor()
>             cursor.putmulti(my_iterable, append=True)
>     cursor.putmulti(my_iterable, append=True)
> AttributeError: 'Cursor' object has no attribute 'putmulti'
>  
> Thanks!

pip install -U lmdb


David

Other related posts: