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: it offers more flexibility because it's not constrained to fetching only resources.
It can also be used to easily format your own custom queries by using its &_sql parameter.
See screencast at https://www.youtube.com/watch?v=RaUHvJDTkYQ&feature=youtu.be
queryResources hones in on modResource collections to allow for flexible querying on any column or TVs.
New in Query 1.3.1
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.