silvershop/silverstripe-sqlquerylist

Wraps a SilverStripe SQLQuery in a SS_List

Installs: 3 019

Dependents: 2

Suggesters: 0

Stars: 3

Watchers: 4

Forks: 3

Open Issues: 1

Type:silverstripe-vendormodule

1.0.1 2018-01-29 15:30 UTC

README

Create DB-driven SS_Lists based directly off a SQLQuery. Particularly useful for reporting.

For the SilverStripe 3.x compatible version of this module, use the 1.x release.

But why?

The SilverStripe ORM doesn't allow you to work with advanced SQLQueries. You could pass the output of a SQLQuery to an ArrayList, but this approach will always retrieve all records, which can mean memory gets used up.

Records can only be displayed, ordered and filtered. Adding / removing and manipulating records does not work.