txn support.
return null in c++ binding when MDB_NOTFOUND.