1

What is the best way to get only the total entry number from a section with the least overhead, in the element-api.php?

Thanks

Mark

2

Ok i think i stumbled on the answer -

$signees = Entry::find()->sectionId(4)->count();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.