6.9. Key

[<<<] [>>>]

key = bdb::Key(DB)

Return the key of the last accessed record. This function can be useful to get the actual key value when the key is not known. For example you are looking up the name "Schmidt" in a database and you use the key "Sch" in the function bdb::Get. It is not guaranteed that the name is Schmidt. It can be any string, which is alphabetically later than Sch.


[<<<] [>>>]