dbc put

						dbc put
						[-after]
						[-before]
						[-current]
						[-partial {doff dlen}]
						data
						dbc put
						[-keyfirst]
						[-keylast]
						[-partial {doff dlen}]
						key data
					

Description

The dbc put command stores the specified key/data pair into the database.

The options are as follows:

  • -after In the case of the Btree and Hash access methods, insert the data element as a duplicate element of the key referenced by the cursor. The new element appears immediately after the current cursor position. It is an error to specify -after if the underlying Btree or Hash database was not created with the -dup option. No key argument should be specified.

    In the case of the Recno access method, it is an error to specify the -after option if the underlying Recno database was not created with ...

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.