@singlestore/client
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -159,3 +159,3 @@ import { AI } from '@singlestore/ai'; | ||
update(data: Partial<T["columns"]>, filters: QueryFilters<T["columns"]>): Promise<[ResultSetHeader, mysql2_promise.FieldPacket[]]>; | ||
delete(filters: QueryFilters<T["columns"]>): Promise<[ResultSetHeader, mysql2_promise.FieldPacket[]]>; | ||
delete(filters?: QueryFilters<T["columns"]>): Promise<[ResultSetHeader, mysql2_promise.FieldPacket[]]>; | ||
vectorSearch<U extends QueryBuilderArgs<_S>, _S extends QuerySchema = T["columns"] & { | ||
@@ -162,0 +162,0 @@ v_score: number; |
@@ -420,2 +420,3 @@ "use strict"; | ||
delete(filters) { | ||
if (!filters) return this.truncate(); | ||
const { clause, values } = new QueryBuilder(filters); | ||
@@ -422,0 +423,0 @@ const query = `DELETE FROM ${this._path} ${clause}`; |
{ | ||
"name": "@singlestore/client", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
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
154266
1422