• Feature Request: SQLite3 interface

    From Tracker1@1:103/705 to DOVE-Net.Synchronet_Discussion on Wed Nov 4 15:57:36 2020
    Would be nice to be able to utilize SQLite3 based databases from the JavaScript Object Model.

    An example of a decent API for Database access would be the
    better-sqlite3 module, this is specifically for node, but the interface
    could be adapted for Synchronet.

    https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md

    The most striking example of where this could be useful would be the
    JSON db service. Though there are others, especially external modules
    and potentially other uses over time.

    --
    Michael J. Ryan
    tracker1 +o Roughneck BBS
    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to Tracker1 on Thu Nov 5 18:06:13 2020
    El 4/11/20 a las 19:57, Tracker1 escribió:
    Would be nice to be able to utilize SQLite3 based databases from the JavaScript Object Model.

    An example of a decent API for Database access would be the
    better-sqlite3 module, this is specifically for node, but the interface could be adapted for Synchronet.

    https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md

    The most striking example of where this could be useful would be the
    JSON db service.  Though there are others, especially external modules
    and potentially other uses over time.

    few years ago, I made a patch to begin support sqlite into js model
    NOTE: this code will not work under actual sbbs source tree, but maybe
    can be as approach

    http://downloads.bbs.docksud.com.ar/sync/js_sqlite/

    Saludos!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)