From 68a3f3bece3de430cf0ae43b342ff875983eb5d7 Mon Sep 17 00:00:00 2001 From: Badrish Chandramouli Date: Wed, 17 Feb 2021 12:50:15 -0800 Subject: [PATCH] Update 20-fasterkv-basics.md --- docs/_docs/20-fasterkv-basics.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/_docs/20-fasterkv-basics.md b/docs/_docs/20-fasterkv-basics.md index 236e38ef6..de4bc034f 100644 --- a/docs/_docs/20-fasterkv-basics.md +++ b/docs/_docs/20-fasterkv-basics.md @@ -124,7 +124,7 @@ You can then perform a sequence of read, upsert, and RMW operations on the sessi ```cs var status = session.Read(ref key, ref output); -var status = session.Read(ref key, ref input, ref output, ref context, ref serialNo); +var status = session.Read(ref key, ref input, ref output, context, serialNo); await session.ReadAsync(key, input); ``` @@ -132,17 +132,24 @@ await session.ReadAsync(key, input); ```cs var status = session.Upsert(ref key, ref value); -var status = session.Upsert(ref key, ref value, ref context, ref serialNo); +var status = session.Upsert(ref key, ref value, context, serialNo); ``` #### RMW ```cs var status = session.RMW(ref key, ref input); -var status = session.RMW(ref key, ref input, ref context, ref serialNo); +var status = session.RMW(ref key, ref input, context, serialNo); await session.RMWAsync(key, input); ``` +#### Delete + +```cs +var status = session.Delete(ref key); +var status = session.Delete(ref key, context, serialNo); +``` + ### Disposing At the end, the session is disposed: