Skip to content

Commit ca7421f

Browse files
committed
Fixed cursor put comments
1 parent 761a4af commit ca7421f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LightningDB/LightningCursor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ private bool GetMultiple(CursorOperation operation)
303303

304304
/// <summary>
305305
/// Store by cursor.
306-
/// This function stores key/data pairs into the database.
306+
/// 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.
307308
/// If the function fails for any reason, the state of the cursor will be unchanged.
308309
/// If the function succeeds and an item is inserted into the database, the cursor is always positioned to refer to the newly inserted item.
309310
/// </summary>

0 commit comments

Comments
 (0)