[Request] DB implementation (as plugin or similar)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By EvilMax
:warning: Old Version Published before Godot 3 was released.

There is really no way to access any DB without recompiling whole engine?

I think it could be helpful to implement it.

Becouse reading/writing from files in old style is too tricky in some type of games, when there is SQL that do everything for you.

:bust_in_silhouette: Reply From: brunosxs

If it is just this(and we’re not talking about really intensive DB access like in big apps)
You should write everything in dictionaries instead and then use the method dictionary.to_json, after that, just save the content on a file with the File Class.

To import, you’d just need to load the file and load its contents as a string, then use the method dictionary.parse_json

I used this to create a custom language system, where the translations are loaded from a json file I created before…

Have a look over Dictionaries page at the docs