@singlestore/client
Advanced tools
Comparing version 0.0.34 to 0.0.35
import { AnyAI, CreateChatCompletionResult } from '@singlestore/ai'; | ||
import { PoolOptions, Pool, ResultSetHeader, FieldPacket, RowDataPacket } from 'mysql2/promise'; | ||
import { PoolOptions, Pool, ResultSetHeader, FieldPacket } from 'mysql2/promise'; | ||
export { FieldPacket, ResultSetHeader, RowDataPacket } from 'mysql2/promise'; | ||
@@ -197,3 +197,3 @@ export { escape } from 'mysql2'; | ||
insert(values: Partial<TTableType["columns"]> | Partial<TTableType["columns"]>[]): Promise<[ResultSetHeader, FieldPacket[]][]>; | ||
find<TJoinClauseAs extends string, TJoinClauses extends JoinClause<TTableType, TDatabaseType, TJoinClauseAs>[], TSelectClause extends SelectClause<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses>>(params?: QueryBuilderParams<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses, TSelectClause>): Promise<(ExtractSelectedQueryColumns<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses, TSelectClause> & RowDataPacket)[]>; | ||
find<TJoinClauseAs extends string, TJoinClauses extends JoinClause<TTableType, TDatabaseType, TJoinClauseAs>[], TSelectClause extends SelectClause<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses>>(params?: QueryBuilderParams<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses, TSelectClause>): Promise<ExtractSelectedQueryColumns<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses, TSelectClause>[]>; | ||
update(values: Partial<TTableType["columns"]>, where: WhereClause<TTableType, TDatabaseType, any, any>): Promise<[ResultSetHeader, FieldPacket[]]>; | ||
@@ -207,3 +207,3 @@ delete(where?: WhereClause<TTableType, TDatabaseType, any, any>): Promise<[ResultSetHeader, FieldPacket[]]>; | ||
v_score: number; | ||
} & RowDataPacket)[]>; | ||
})[]>; | ||
createChatCompletion<TJoinClauseAs extends string, TJoinClauses extends JoinClause<TTableType, TDatabaseType, TJoinClauseAs>[], TSelectClause extends SelectClause<TTableType, TDatabaseType, TJoinClauseAs, TJoinClauses>, TParams extends Parameters<this["vectorSearch"]>[0] & (TAi extends AnyAI ? Parameters<TAi["chatCompletions"]["create"]>[0] : never) & { | ||
@@ -210,0 +210,0 @@ template?: string; |
{ | ||
"name": "@singlestore/client", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -40,3 +40,3 @@ # SingleStore Client | ||
const client = new SingleStoreClient({ ai }); | ||
const client = new SingleStoreClient(); | ||
``` | ||
@@ -43,0 +43,0 @@ |
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
198692