Re: GJS and SQLite

2020-02-20 Thread Carlos Fernández Llamas
Thanks Felipe! Someone in the IRC channel mentioned GDA for using SQLite and many other databases in general. > One way of doing this is by using Gom[0]. It is a GObject to SQLite > object mapper. Will check that out, too :) Cheers! ___ javascript-lis

Re: GJS and SQLite

2020-02-20 Thread Felipe Borges
One way of doing this is by using Gom[0]. It is a GObject to SQLite object mapper. I wrote some JS code in the past to use it [1]. It is likely outdated but should be a good start reference. [0] https://github.com/GNOME/gom [1] https://gitlab.gnome.org/felipeborges/bolso/blob/master/src/db.js On

GJS and SQLite

2020-02-20 Thread Carlos Fernández Llamas
Hi there, I've been investigating about filesystem access within GJS, to develop an app that requires persistency. I understand that it's done using the Gio package, but would like to use something like SQLite, optimally. What are the requirements to use SQLite within a GJS application? PD: Po