From 9d785b8258cfdd746d55b1517c600200cc28bfa1 Mon Sep 17 00:00:00 2001 From: Brian Nichols Date: Wed, 31 Jan 2024 19:17:13 -0500 Subject: [PATCH] Update doc for as_exp_is_tombstone(). --- src/include/aerospike/as_exp.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/include/aerospike/as_exp.h b/src/include/aerospike/as_exp.h index 1d8d25e94..10c1b7ed3 100644 --- a/src/include/aerospike/as_exp.h +++ b/src/include/aerospike/as_exp.h @@ -1,5 +1,5 @@ /* - * Copyright 2008-2023 Aerospike, Inc. + * Copyright 2008-2024 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. @@ -778,7 +778,10 @@ as_exp_destroy_base64(char* base64) * tombstone state. This expression usually evaluates quickly because record * meta data is cached in memory. * - * Note - this is only useful for XDR filters. + * This expression works for XDR filters and when used from a write request within + * as_operations_exp_write() or as_operations_exp_read(). This expression does not + * work with normal filtering of records because the tombstone record will be filtered + * out before this expression is evaluated. * * ~~~~~~~~~~{.c} * // Deleted records that are in tombstone state.