caobo171 / node-zklib

This is a lightweight of node.js module to connect to biometrix attendance device for examples ZKTeco
72 stars 61 forks source link

How to get the latest check-in attendance data #3

Closed ntahlahweh closed 4 years ago

ntahlahweh commented 4 years ago

Hello, I would like to ask how to get the latest check-in attendance data?

csulit commented 4 years ago

@ntahlahweh filter it with the latest date.

ntahlahweh commented 4 years ago

I see, but my idea is to get the last name in the array instead. Is it possible to do that?

I'm sorry as I'm not really experience in Javascript

caobo171 commented 4 years ago

We need to load all data , then sort it by date , there is no way to paginate the data , unfortunatelyy