alexiusacademia / electron-db

Electron module that acts as database management and uses flat file database (json file) to store tables.
MIT License
87 stars 24 forks source link

Table exists? #24

Closed xortrike closed 5 years ago

xortrike commented 5 years ago

It would be nice if there was a method for checking the existence of a table. Because if I try to check a non-existing table using the "valid" method, I get an error. Please add method for check table or extend the "valid" method, adding this checking. if ( fs.existsSync(fName) === false ) { return false; }

alexiusacademia commented 5 years ago

Hi @xortrike, thank you for the suggestion. Please note that you are welcome to fork the project and add your desired functionality then create a pull request.

I would love that more people could collaborate with this project. Although I will take a look at this when I got available time.

Thanks and regards!