How to access last n records

Hi how can I efficiently access last n record in my set. like select top n … in sql

Could you describe your use case?

Partition based scans were added with This allows the client to scan particular partitions and also to start a scan after a particular digest. You can also specify a count of records that should be returned. This won’t get the “Last N”, but it will allow you to paginate through your records in digest order.

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