Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@singlestore/client

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@singlestore/client - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

6

dist/index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc