#realm database
19 messages · Page 1 of 1 (latest)
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by OP
here my files
is there a reason you need JSON? there's no easy way to turn a database into JSON
I need the json
because I need to choose random players etc...
Storing that absolute monster of a file on local memory is not going to be a good idea @lime sky
And that first file is like 3 different Arrays rather than JSON
There must be a better approach
and do you have any solution?
a way exist because a guy give me the json file but he doesn't want tell me how he get it
I know nothing about the DB structure so without that context, no
for possible is possible but hard
How complex is this DB, just the type of DB, and the properties/columns would be suffcient.
And the objextice "I need to get a random player from table X where Y is true" or something to that effect
I know, I will wait somebody else. thanks
I would recommend MongoDB for this, especially due to its JSON-like system
yes but I need to remake all players list
You don't. You can import your JSON files and convert them to objects which you can then pass to the database.
yes but in my JSON file is all in disorder I don't think that can work
It will work regardless of whether you clean it up or not, but if you feel the need to do so go ahead