• Feature Request: SQLite3 interface

    From Tracker1@VERT/TRN to DOVE-Net.Synchronet_Discussion on Wednesday, November 04, 2020 15:57:36
    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
  • From Ragnarok@VERT/DOCKSUD to Tracker1 on Thursday, November 05, 2020 18:06:13
    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