Question about repl db?

This is a dumb question but it saves data globally right? As in, i set a db value to 4 and then try to access it on a different account, it will read as 4?

1 Like

Well, kinda. If your Repl is a website, then yes. If not, then not exactly:

Basically, when someone runs your Repl it creates a “Ghost fork”. So whatever they do in that fork won’t change your main Repl. So the DB will be different on each ghost fork.


what? so in python repls it would only save for my account? etc i would see 4 but other people would not?

Yeah, as long as your Repl doesn’t have a webview.

1 Like