Berkeley DB Reference Guide:
Access Methods
PrevRefNext

Cursor close

The DBcursor->close method closes the DBC cursor, after which the cursor may no longer be used. Although cursors are implicitly closed when the database they point to are closed, it is good programming practice to explicitly close cursors. In addition, in transactional systems, cursors may not exist outside of a transaction and so must be explicitly closed.


PrevRefNext

Copyright (c) 1996,2008 Oracle. All rights reserved.