mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
add more mysql stuff
This commit is contained in:
1 parent
865141d945
commit
fbedf9e95e
13 files changed
+105
-65
No files matched your search
@@ -16,6 +16,10 @@ module.exports.getData = function getData ( db, searchQuery ) {
|
||||
} );
|
||||
};
|
||||
|
||||
module.exports.writeData = function writeData ( db ) {
|
||||
|
||||
};
|
||||
|
||||
module.exports.getJSONData = function getData ( file ) {
|
||||
return new Promise( ( resolve, reject ) => {
|
||||
fs.readFile( path.join( __dirname + '/../../' + file ), ( error, data ) => {
|
||||
|
||||
Reference in new issue
Block a user