mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
add more mysql stuff
This commit is contained in:
@@ -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