Search code examples
aerospike

Aerospike query language operate command


I am trying to run aerospike query language operate command given at Operate on a record

aql> OPERATE INCR(mybin,1) ON test.demo where PK = 'key1'

But I get the following error

ERROR: 404: COMMAND NOT FOUND : OPERATE

My client version is as follows:

Aerospike Query Client Version 3.13.0.1 C Client Version 4.1.6

Eventually, I am trying to increment a record value.


Solution

  • Make sure that you're using Aerospike Tools >= 3.15.0.3 . CDT operations and others were added in that release; see the release notes.