sqlite-express
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -15,2 +15,2 @@ const newDB = require('./modules/db'); | ||
delete: deleteDB | ||
}; | ||
}; |
@@ -31,2 +31,3 @@ const signs = require('./signos'); | ||
let oneRow, oneColumn; | ||
if(rows.length === 0){return undefined}; | ||
if(rows.length === 1){oneRow = true}else{oneRow = false}; | ||
@@ -33,0 +34,0 @@ if(Object.keys(rows[0]).length === 1){oneColumn = true}else{oneColumn = false}; |
{ | ||
"name": "sqlite-express", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "functions for sqlite3", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,3 +7,8 @@ sqliteExpress = require('./index'); | ||
sqliteExpress.update(db, 'personas', {nombre : 'erica', edad : 58, ciudad : 'vilcun'}, {nombre : 'Antonia'}) | ||
let hola = async()=>{ | ||
console.log(await sqliteExpress.select(db, 'personas', 'ciudad', {nombre : 'gabriel'})) | ||
console.log(await sqliteExpress.select(db, 'personas', 'ciudad', {nombre : 'gabrie'})) | ||
} | ||
hola() | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21721
12
163
1