You can use the
select prefilter to select specific data
In this example the content is selected on server side so that no overhead of unused data is created.
It is not possible to update selected values directly because information like primary keys get lost.
You can pass all parameters to the select function. The query will return you a two dimensional array of all object values.
If only one parameter is the array will be flat.
Firstwill require the collection data to always get queried from the database on every change. Keep that in mind when creating performance critical tasks.