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 Thu, Feb 20, 2020 at 11:35 AM Carlos Fernández Llamas <he...@sirikon.me> wrote: > > 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: Posted this same question in the IRC channel, but doesn't seem to have > much activity. > > Thanks in advance! Cheers! > > _______________________________________________ > javascript-list mailing list > javascript-list@gnome.org > https://mail.gnome.org/mailman/listinfo/javascript-list _______________________________________________ javascript-list mailing list javascript-list@gnome.org https://mail.gnome.org/mailman/listinfo/javascript-list