About Query
Query offers a Snippet interface for xPDO's getCollection method. This allows you to query any MODX database collection and format the output, including pagination. Query can be used as a replacement for getResources, and it offers much more flexibility because it's not constrained to fetching only resources.
Information
Released
May 18, 2015
Supported Database
MySQL
License
GPLv2
Supported Versions
2.3 - Current
Downloads
3,198
Instructions
You can install Query via the standard MODx package manager.
You can also install Query via Repoman (https://github.com/craftsmancoding/repoman).
New in 1.3.1-pl
Version 1.3.1 includes the vendor/autoload.php (oops).
Version 1.3.0 features several important updates:
- New queryResources snippet dedicated entirely to querying pages including via TVs
- Custom Cache partition for faster performance.