New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vertx/sql-client

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vertx/sql-client - npm Package Compare versions

Comparing version 3.9.1 to 3.9.2

index.mjs

31

index.d.ts

@@ -47,2 +47,23 @@ /*

/**
* Contains static metadata about the backend database server
*/
export abstract class DatabaseMetadata {
/**
*/
productName() : string;
/**
*/
fullVersion() : string;
/**
*/
majorVersion() : number;
/**
*/
minorVersion() : number;
}
import { Vertx } from '@vertx/core';

@@ -149,2 +170,3 @@ import { SqlConnectOptions } from './options';

/**
* Like {@link PreparedStatement#cursor} but with empty arguments.
*/

@@ -159,2 +181,7 @@ cursor() : Cursor;

/**
* Like {@link PreparedStatement#createStream} but with empty arguments.
*/
createStream(fetch: number) : RowStream<Row>;
/**
* Execute the prepared query with a cursor and createStream the result. The createStream opens a cursor

@@ -500,2 +527,6 @@ * with a <code>fetch</code> size to fetch the results.

close() : void;
/**
*/
databaseMetadata() : DatabaseMetadata;
}

@@ -502,0 +533,0 @@

1

index.js

@@ -24,2 +24,3 @@ /*

Cursor: Java.type('io.vertx.sqlclient.Cursor'),
DatabaseMetadata: Java.type('io.vertx.sqlclient.spi.DatabaseMetadata'),
Pool: Java.type('io.vertx.sqlclient.Pool'),

@@ -26,0 +27,0 @@ PreparedQuery: Java.type('io.vertx.sqlclient.PreparedQuery'),

7

options.d.ts

@@ -204,8 +204,5 @@ /*

* Set the maximum length of prepared statement SQL string that the connection will cache.
*
* <p> This is an helper setting the <a href="../../dataobjects.html#SqlConnectOptions">SqlConnectOptions</a>.
*/
getPreparedStatementCacheSqlLimit(): number;
/**
* Set the maximum length of prepared statement SQL string that the connection will cache.
*/
setPreparedStatementCacheSqlLimit(preparedStatementCacheSqlLimit: number): SqlConnectOptions;

@@ -212,0 +209,0 @@

{
"name" : "@vertx/sql-client",
"description" : "Generated Eclipse Vert.x bindings for 'vertx-sql-client'",
"version" : "3.9.1",
"version" : "3.9.2",
"license" : "Apache-2.0",

@@ -10,9 +10,9 @@ "public" : true,

"artifactId" : "vertx-sql-client",
"version" : "3.9.1"
"version" : "3.9.2"
},
"dependencies" : {
"@vertx/core" : "3.9.1"
"@vertx/core" : "3.9.2"
},
"main" : "index.js",
"module" : "module.mjs",
"module" : "index.mjs",
"types" : "index.d.ts",

@@ -19,0 +19,0 @@ "sideEffects" : false,

@@ -14,4 +14,29 @@ ![npm (scoped)](https://img.shields.io/npm/v/@vertx/sql-client.svg)

This is a meta package, meaning that it contains only metadata for the build.
Import the required `API`/`Enum`/`DataObject` and profit!
```js
// Base API
import * as API from '@vertx/sql-client';
// DataObject's
import * as OPTIONS from '@vertx/sql-client/options';
// refer to the API docs for specific help...
// your code here!!!
```
## Typescript
This package includes [Typescript](http://www.typescriptlang.org/) typedefinitions and your IDE should find then automatically.
When working in a project you can enable type hinting for the runtime as:
```js
/// <definition types="es4x" />
// @ts-check
// your TypeScript code here...
```
## Links

@@ -18,0 +43,0 @@

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