PulsarBlow / aurelia-firebase

🔥 A Firebase plugin for Aurelia
https://aureliaonfire.azurewebsites.net
MIT License
23 stars 6 forks source link

Filtering ReactiveCollection items #4

Open eskalera opened 8 years ago

eskalera commented 8 years ago

Is there currently any way to filter the collections before pulling them from Firebase?

If I got it right, in the demo sample, all todos are retrieved and then they are filtered by ownerId. Would there be any way to retrieve only todos with a specific ownerId?

I have been looking at the _query variable in ReactiveCollection.class but I guess it's meant to be a private variable.

PulsarBlow commented 8 years ago

Hi @eskalera ,

In the current version this isn't yet possible. The _query variable is, indeed, meant to be private.

Collection filtering will be supported in the next version with the full Query support implementation.