Subj : Saving data in custom module
To : Sam Alexander
From : Nightfox
Date : Fri Mar 25 2022 09:28 am
Re: Saving data in custom module
By: Sam Alexander to All on Fri Mar 25 2022 03:13 pm
SA> I'm probably overlooking this in the docs, but if I'm building a custom
SA> module how can I save data back to the Synchronet database or elsewhere?
SA> I'm still really foggy in how Sync saves data to the file system. I'm
SA> playing with some ideas for custom modules which will need to save data
SA> back, just not sure how to do this.
I don't know of a general "Synchronet database" for generic data, but its JavaScript has a File class that you could use to write data to a file on the drive:
http://www.synchro.net/docs/jsobjs.html#File_class
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com