⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 curput.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: curput.so,v 10.18 2003/10/18 19:15:52 bostic Exp $])m4_ref_title(Access Methods, Storing records with a cursor,    [@storing records with a cursor, storing records with a @cursor],    am/curget, am/curdel)m4_p([dnlThe m4_refT(dbc_put) stores records into the database using a cursor.  Ingeneral, m4_ref(dbc_put) takes a key and inserts the associated datainto the database, at a location controlled by a specified flag.])m4_p([dnlThere are several flags that you can set to customize storage:])m4_tagbeginm4_tag([m4_ref(DB_AFTER)], [dnlCreate a new record, immediately after the record to which the cursorrefers.])m4_tag([m4_ref(DB_BEFORE)], [dnlCreate a new record, immediately before the record to which the cursorrefers.])m4_tag([m4_ref(DB_CURRENT)], [dnlReplace the data part of the record to which the cursor refers.])m4_tag([m4_ref(DB_KEYFIRST)], [dnlCreate a new record as the first of the duplicate records for thesupplied key.])m4_tag([m4_ref(DB_KEYLAST)], [dnlCreate a new record, as the last of the duplicate records for the suppliedkey.])m4_tagendm4_p([dnlIn all cases, the cursor is repositioned by a m4_ref(dbc_put) operationto point to the newly inserted key/data pair in the database.])m4_p([dnlThe following is a code example showing a cursor storing two data itemsin a database that supports duplicate data items:])include(ref/am/curput.cs)m4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -