surrealised
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -190,2 +190,6 @@ var __defProp = Object.defineProperty; | ||
if (this.whereClauses.length > 0) { | ||
let hasORClauses = this.whereClauses.some((c) => c.includes(" OR ")); | ||
if (!hasORClauses) { | ||
this.whereClauses = this.whereClauses.map((c) => c.replace(/\(/g, "").replace(/\)/g, "")); | ||
} | ||
query += ` WHERE ${this.whereClauses.join(" AND ")}`; | ||
@@ -192,0 +196,0 @@ } |
{ | ||
"name": "surrealised", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Another SurrealDB Library for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
# Surrealised | ||
## Description | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<img alt="NPM Downloads" src="https://img.shields.io/npm/dt/surrealised"> | ||
</td> | ||
<td> | ||
<img alt="NPM Version" src="https://img.shields.io/npm/v/surrealised"> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
A basic SurrealDB Client Library for NodeJS. | ||
A basic SurrealDB Server-Side Client Library for NodeJS. It acts more akin to tranditional database connections, and is designed to be used in a similar way to other SQL libraries. | ||
If you have any problems, or suggestions, please [open an issue](https://github.com/ozone-team/surrealised/issues). | ||
@@ -7,0 +19,0 @@ ## Installation |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
99968
1090
326