📄 cursor.so
字号:
m4_comment([$Id: cursor.so,v 1.12 2004/03/05 21:47:36 bostic Exp $])m4_ref_title(m4_tam Applications, Transactional cursors,, transapp/read, transapp/nested)m4_p([dnlm4_db cursors may be used inside a transaction, exactly as any otherm4_ref(Db) method. The enclosing transaction ID must be specified whenthe cursor is created, but it does not then need to be further specifiedon operations performed using the cursor. One important point toremember is that a cursor m4_bold([must be closed]) before the enclosingtransaction is committed or aborted.])m4_p([dnlThe following code fragment uses a cursor to store a new key in the catsdatabase with four associated data items. The key is a name. The dataitems are a company name and a list of the breeds of cat owned. Eachof the data entries is stored as a duplicate data item. In thisexample, transactions are necessary to ensure that either all or noneof the data items appear in case of system or application failure.])include(ref/transapp/cursor.cs)m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -