O'Reilly logo

Berkeley DB by Sleepycat™ Software, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required