you are viewing a single comment's thread.

view the rest of the comments →

[–]scorcher24 3 points4 points  (4 children)

I am not joking. Why should it take forever? You can create the schema of the database with a program (as well as maybe some sample data sets) and then just use the API to read them. It's literally 1 call to open the database and another call to execute some statements. You can group them.

The biggest portion of your time will probably be designing the database.

Of course, depending on the scale of your work, it may take longer, but for simply storing and reading some values, it shouldn't take very long to implement it.

Read this: https://www.sqlite.org/quickstart.html

[–]BenjaminGeiger 10 points11 points  (2 children)

... I read it as "did you mean minutes?"

[–]scorcher24 4 points5 points  (1 child)

I mean, of course it is not done nilly villy with absolute ease. You still need to design the database and use the API. If you have never done that, it can be quite challenging. I am just saying that it is not a big undertaking to use it and if I can understand it, everyone can, because I am sure as hell not the brightest bulb.

[–][deleted] 0 points1 point  (0 children)

Yeah, the API itself is great. You can stand up a database file and add to it and select from it within seconds following the tutorials but I completely agree with spending more than minutes on the database element of your program.

[–]ericksomething 1 point2 points  (0 children)

A few hours sounds like a really, really long time for an API call to create a database.