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
Post a Comment