public static TransactionClearRange ( |
||
transaction | ||
beginKey | Slice | |
endKey | Slice | |
return | void |
/// <inheritdoc /> public void ClearRange(ReadOnlySpan <byte> beginKeyInclusive, ReadOnlySpan <byte> endKeyExclusive) { FdbNative.TransactionClearRange(m_handle, beginKeyInclusive, endKeyExclusive); // There is an overhead of 28-byte per operation Interlocked.Add(ref m_payloadBytes, beginKeyInclusive.Length + endKeyExclusive.Length + 28); }
public void ClearRange(Slice beginKeyInclusive, Slice endKeyExclusive) { FdbNative.TransactionClearRange(m_handle, beginKeyInclusive, endKeyExclusive); // There is an overhead of 28-byte per operation Interlocked.Add(ref m_payloadBytes, beginKeyInclusive.Count + endKeyExclusive.Count + 28); }