Revolutionizing Data Flow: Pagination Feature Unleashed in gRPC Queries!
New enhancements streamline list queries, ensuring smoother and more efficient data retrieval with chronological precision.
Commit Details:
feat: pagination for list queries and gRPC (#610) * poc * address pr feedback, add pagination to getAllSignerMessagesByFid * fix types * use bytes and uint32 * move makeEndPrefix into utils * getSignersByFid * fix: getCastsByFid should return items in reverse chronological order * returns casts in chronological order * fix: getCastsByFid should return casts in chronological order In the RocksDB iterator we use to construct thashes for the messages query, select only the CastMessages which are CastAdds * rename page options and move page iterator to message file * intermediate commit * fix tests * use suffixes as tokens rather than full keys * remove commented out code * paginate getCastsByParent, getCastsByMention, getReactionsByCast * add changeset and fix linting * update multiPeerSyncEngine test * add more tests * fix import --------- Co-authored-by: bstchow <[email protected]> Co-authored-by: Paul Fletcher-Hill <[email protected]>