How to get list of all keys using Firebase Realtime DB?

Hey Everyone,

I want to get a list of all the keys present in my Firebase Database.

In App Inventor there is a block called “get tag list”. It gets a list of all the tags present in the Database of which you have given the URL.

image

However, In Thunkable, there is no such block / method. Is there any method to do this?

Thanks.

1 Like

Use the key as “//” to get all the data in the database.

I tried this out.

When I try to display the value in a label only, it says null.

When I try to display it in a list view, it remains blank.

When I try to display it in both a list view and a label, it says [object Object]

What can be causing this?

1 Like

It should say [object object]

Id you want to display it in a list viewer use
image

If you want to display it in a label use
image

Thanks! It seems to be working now.

I’ll just try it out fully, and let you know.

2 Likes

I had the same question and this worked for me but why does this work? What does the // mean?

1 Like

It means all keys. Similar to root folder in file manager or file browser.

1 Like