This commit is contained in:
Nikiroy78 2022-06-26 14:00:23 +03:00 committed by GitHub
parent cb3ee5b902
commit 631660a213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ function get_from_key (db_data, conditions) {
class database { class database {
constructor(path, warning=true){ constructor(path, warning=true){
if (warning) echo("You use LEGACY version of SQLEasy library (v. 0.9.1). In new version structure was been edited. Show more in: https://www.npmjs.com/package/sql-easy-lib"); if (warning) console.log("You use LEGACY version of SQLEasy library (v. 0.9.1). In new version structure was been edited. Show more in: https://www.npmjs.com/package/sql-easy-lib");
this.PATH = path; this.PATH = path;
// this.db = new sqlite3.Database(this.PATH); // async - heresy! // this.db = new sqlite3.Database(this.PATH); // async - heresy!
this.db = new sqlite3(this.PATH); this.db = new sqlite3(this.PATH);