@athenna/database
Advanced tools
+1
-1
| { | ||
| "name": "@athenna/database", | ||
| "version": "5.40.0", | ||
| "version": "5.41.0", | ||
| "description": "The Athenna database handler for SQL/NoSQL.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -541,3 +541,3 @@ /** | ||
| } | ||
| if (!operation) { | ||
| if (!Is.String(statement) && Is.Undefined(operation)) { | ||
| const parsed = this.schema.propertiesToColumnNames(statement); | ||
@@ -563,3 +563,3 @@ super.where(parsed); | ||
| } | ||
| if (!value) { | ||
| if (!Is.String(statement) && Is.Undefined(value)) { | ||
| const parsed = this.schema.propertiesToColumnNames(statement); | ||
@@ -657,3 +657,3 @@ super.whereNot(parsed); | ||
| } | ||
| if (!operation) { | ||
| if (!Is.String(statement) && Is.Undefined(operation)) { | ||
| const parsed = this.schema.propertiesToColumnNames(statement); | ||
@@ -679,3 +679,3 @@ super.orWhere(parsed); | ||
| } | ||
| if (!value) { | ||
| if (!Is.String(statement) && Is.Undefined(value)) { | ||
| const parsed = this.schema.propertiesToColumnNames(statement); | ||
@@ -693,3 +693,3 @@ super.orWhereNot(parsed); | ||
| orWhereLike(statement, value) { | ||
| if (!value) { | ||
| if (!Is.String(statement) && Is.Undefined(value)) { | ||
| const parsed = this.schema.propertiesToColumnNames(statement); | ||
@@ -707,3 +707,3 @@ super.orWhereLike(parsed); | ||
| orWhereILike(statement, value) { | ||
| if (!value) { | ||
| if (!Is.String(statement) && Is.Undefined(value)) { | ||
| const parsed = this.schema.propertiesToColumnNames(statement); | ||
@@ -710,0 +710,0 @@ super.orWhereILike(parsed); |
512584
0.04%