burnbright/silverstripe-sqlquerylist

This package is abandoned and no longer maintained. The author suggests using the silvershop/silverstripe-sqlquerylist package instead.

Wraps a SilverStripe SQLQuery in a SS_List

Installs: 23 121

Dependents: 1

Suggesters: 0

Security: 0

Stars: 4

Watchers: 6

Forks: 4

Open Issues: 1

Type:silverstripe-vendormodule

3.0.0 2023-09-14 06:12 UTC

This package is auto-updated.

Last update: 2023-10-25 17:48:30 UTC


README

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

composer require silvershop/silverstripe-sqlquerylist

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.