@vertx/sql-client
Advanced tools
Comparing version 3.9.1 to 3.9.2
@@ -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 @@ |
@@ -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'), |
@@ -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 @@  | ||
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 @@ |
40939
9
1154
45
+ Added@vertx/core@3.9.2(transitive)
- Removed@vertx/core@3.9.1(transitive)
Updated@vertx/core@3.9.2