Post #3316757
2026-06-13 15:03 UTC
Due to its lack of a proper ORM, n+1 queries are a virtually unknown concept in the #WordPress space but very mch present as a problem. You may be able to use the built-in WP_Query interface (or WC_Product_Query) but it is extremely limited in its capabilities.
For those not in the know, an ORM is a software library that takes care of generating SQL queries from calls that use constructs from your programming language.
Replies (1)
-
@alda@topspicy.social 2026-06-13 15:03
Only being able to query records by a single meta value, no support for checking if a meta value has not been set at all or getting multiple WordPress options in bulk is severely limiting and it is one of the things that do make the platform look amateurish to those on the outside.