# How to get Limited Record using HashMap?

**URL:** <https://forum.dfinity.org/t/how-to-get-limited-record-using-hashmap/15180>\
**Category:** Developers\
**Tags:** Functional-Programming\
**Created:** [August 30, 2022, 8:45am UTC](https://forum.dfinity.org/t/how-to-get-limited-record-using-hashmap/15180 "2022-08-30T08:45:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![krunalshoppiko](https://avatars.discourse-cdn.com/v4/letter/k/ad7895/32.png) [@krunalshoppiko](https://forum.dfinity.org/u/krunalshoppiko)\
**Post date:** [August 30, 2022, 8:45am UTC](https://forum.dfinity.org/t/how-to-get-limited-record-using-hashmap/15180/1 "2022-08-30T08:45:30Z")

</div>

I need only 10 records out of 100 using HashMap.

Like below query.  
SELECT \* FROM Customers LIMIT 10;

how can i get it?
