Skip to content
← Back to Community
Why doesn't the Database URL show the keys in the database?
Profile icon
AustinCharb

Hello! I am trying to view the keys inside of my replit database, and im using the "keys = db.keys()" variable, then I print it to the screen, but when I click on the URL, it doesn't show anything. I'm trying to use the database to store peoples scores in it, then I want to have a URL so people can view the scores. Can someone help me with this, is there some other way to do this?

Voters
Profile icon
McJoe21
Profile icon
AustinCharb
Comments
hotnewtop
Profile icon
Coder100

You should not visit the url directly, it won't show you anything.

Profile icon
AustinCharb

@Coder100 how can i view all of the keys?

Profile icon
AustinCharb

@Coder100 I would like to make a scoreboard for al of the scores in the database.

Profile icon
RYANTADIPARTHI

Maybe try getting keys from a input. like when a input is said, then make a new variable and assign it to db.keys() that will save it.