- mdb-cmp txn dbi a bprocedure
Compare two data items according to a particular database.
This returns a comparison as if the two data items were keys in the specified database.
- A transaction handle returned by (mdb-txn-begin)
- A database handle returned by (mdb-dbi-open)
- The first item to compare (blob)
- The second item to compare (blob)
Returns: < 0 if a < b, 0 if a == b, > 0 if a > b