bugthesystem / FireSharp

An asynchronous cross-platform .Net library for Firebase
The Unlicense
693 stars 147 forks source link

How to limit the number of items to display #75

Closed pooran closed 7 years ago

pooran commented 7 years ago

We need only 2 last updated items from thousands of items. is there a way I can filter the same from GET / GETALL ?

PixellUp commented 7 years ago

I'm looking for solution too, but for _client.OnAsync method.

aupp commented 7 years ago

You could use the QueryBuilder and the "LimitToFirst"-method. Or you could put together your own query and just pass it to QueryBuilder.New("your-query") and use it in the Get method.

arcosmin commented 7 years ago

assume no help required anymore