We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 761a4af commit ca7421fCopy full SHA for ca7421f
src/LightningDB/LightningCursor.cs
@@ -303,7 +303,8 @@ private bool GetMultiple(CursorOperation operation)
303
304
/// <summary>
305
/// Store by cursor.
306
- /// This function stores key/data pairs into the database.
+ /// This function stores key/data pairs into the database. The cursor is positioned at the new item, or on failure usually near it.
307
+ /// Note: Earlier documentation incorrectly said errors would leave the state of the cursor unchanged.
308
/// If the function fails for any reason, the state of the cursor will be unchanged.
309
/// If the function succeeds and an item is inserted into the database, the cursor is always positioned to refer to the newly inserted item.
310
/// </summary>
0 commit comments