Skip to content

Conversation

Pimm
Copy link
Collaborator

@Pimm Pimm commented Sep 10, 2024

ECMAScript has a length property which makes count unnecessary. count was deprecated in eb0abd2.

-payments.page({ limit: 10 }).count
+payments.page({ limit: 10 }).length

ECMAScript has a length property which serves this purpose.
@Pimm Pimm force-pushed the pimm/dont-count-on-it branch from 2cd61e7 to 85acd77 Compare September 10, 2024 14:10
@Pimm Pimm merged commit cfc1ef8 into master Sep 10, 2024
5 checks passed
@Pimm Pimm deleted the pimm/dont-count-on-it branch September 10, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants