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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -