benbyf Posted October 27, 2016 Share Posted October 27, 2016 Is there a set of best practise for avoiding n+1 queries in Processwire, or is this something that is negated by the core? e.g. https://secure.phabricator.com/book/phabcontrib/article/n_plus_one/ Link to comment Share on other sites More sharing options...
LostKobrakai Posted October 27, 2016 Share Posted October 27, 2016 If you avoid using find()/get() in loops you're quite save against n+1 queries. If you don't, then there's not much ProcessWire can do against it besides caching already retrieved items. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now