Crusaderpyro
Crusaderpyro

Reputation: 2242

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.

Upvotes: 2

Views: 1312

Answers (2)

pgupta
pgupta

Reputation: 5415

Type help on aql prompt. Those are all the commands available to you along with examples on how to use them.

$ aql
aql> help

Upvotes: 3

Ronen Botzer
Ronen Botzer

Reputation: 7117

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.

Upvotes: 3

Related Questions