using array of object in firebase -


firebase recommended storing data in object .

but found hard fit want.

 - want size of object.  - first object  - , last object. 

does firebase support on object?

it's not easy retrieve size of object without storing (and updating) separately @ moment.

you can retrieve first object in list using ref.startat().limit(1) , last object using ref.endat().limit(1).


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -