dbc get

						dbc get
						[-current]
						[-first]
						[-get_recno]
						[-join_item]
						[-last]
						[-next]
						[-nextdup]
						[-nextnodup]
						[-partial {offset length}]
						[-prev]
						[-prevnodup]
						[-rmw]
						dbc get
						[-partial {offset length}]
						[-rmw]
						[-set]
						[-set_range]
						[-set_recno]
						key
						dbc get
						-get_both
						[-partial {offset length}]
						[-rmw]
						key data
					

Description

The dbc get command returns a list of {key value} pairs, except in the case of the -get_recno and -join_item options. In the case of the -get_recno option, dbc get returns a list of the record numbers. In the case of the -join_item option, dbc get returns a list containing the joined key.

The options are as follows:

  • -current Return the key/data pair currently referenced by the cursor.

  • If the cursor key/data pair was deleted, dbc get will ...

Get Berkeley DB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.