Firebase SDK version and support for count() method

May I know whats the firebase-admin sdk version that Retool is currently using, for Firebase queries? In particular, does it support the count() function on the Query object, and if not, how may we import libraries to support the count() function?

1 Like

Hey @Yong_Sheng_Low!

The SDK does support count() in Raw mode. I tried this example that I essentially pulled from the Firebase docs.

GUI mode query that returns all users:

Raw mode query:

Raw mode results w/ same Count as total GUI mode results:

Referenced in app:

Hope this helps!