Query.execute is not a function

query
filter

#1

When I am trying to execute query using query.execute() than it shows it is not a function. I was already tried it and it was working before last 3 months. Is it removed from new aerospike node client update?

And if yes than which are alternative options. Can I filter query without secondary index?


#2

Use Query#foreach. Query#execute was marked deprecated in the v2.0 client release and has been removed in v3.0. Please refer to the full list of API changes in v3.