Adrian Carriger

Results 28 comments of Adrian Carriger

Hi @rodrifmed, I just tried the `equalTo` query and I can't reproduce your issue. Can you post your relevant code and data structure? Thanks! 👍

I just made an update that supports multiple queries to the same Firebase reference in AngularFire2 Offline version 4.1.2 Here is a [live demo](https://adriancarriger.github.io/angularfire2-offline/issues/9.2/dist/) that has an [`equalTo` query](https://github.com/adriancarriger/angularfire2-offline/blob/gh-pages/issues/9.2/src/app/app.component.ts#L22-L27) and...

@rodrifmed thanks for hanging in there! 👍 I hope this will help solve your issue: ## Demos - [Live demo](https://adriancarriger.github.io/angularfire2-offline/issues/9.3/dist/) (with [relevant code](https://github.com/adriancarriger/angularfire2-offline/blob/gh-pages/issues/9.3/src/app/app.component.ts#L15-L34)) using the exact same data/code you posted...

@rodrifmed thanks for finding this! It should now be fixed in version 4.1.4. Here is a [demo](https://adriancarriger.github.io/angularfire2-offline/issues/9.4/dist/) (with [code](https://github.com/adriancarriger/angularfire2-offline/blob/gh-pages/issues/9.4/src/app/app.component.ts)). Can you confirm that this solves your issue?

## Updated demo @rodrifmed I've updated the [demo](https://adriancarriger.github.io/angularfire2-offline/issues/9.4/dist/) (and [code](https://github.com/adriancarriger/angularfire2-offline/blob/gh-pages/issues/9.4/src/app/app.component.ts)) by adding the `.first()` method. ## Console Also, my console is only showing one log per query. You may need...

Hi @rodrifmed I can confirm that the nested query is returning empty if I first clear the device's storage, and I will be working on fixing the issue. Thanks!

@rodrifmed thanks again for pointing out this interesting issue! First I'll explain what I found, and then propose a solution. Anyone interested in the issue is welcome to chime in....

@rodrifmed here's how solution 2 would work: ## Solution 2 details ### Data sharing When multiple queries are made to a single reference they share the same "pool" of local...

@rodrifmed do you have a preferred option (1 or 2 from above) for your use case? @ix-xerri can you show code of a full component that reproduces the issue?

I think they both can be useful for different cases. Hopefully I can find some time to add support for solution 2 soon! 👍