Is it possible to get resulting behavior from insert/update operation

According to the docs it’s possible to do an “insert, if exists update operation” through writePolicy.

Is it possible to get back the resulting behavior from such a query, to know whether the record already existed or not?

You can do that using a RecordUDF.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.