[py-lmdb] cursor.putmulti

  • From: "Dinesh Vadhia" <dineshvadhia@xxxxxxxxxxx>
  • To: <py-lmdb@xxxxxxxxxxxxx>
  • Date: Thu, 29 May 2014 05:18:45 -0700

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!

Other related posts: