@types/tedious
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -118,3 +118,3 @@ // Type definitions for tedious 4.0.0 | ||
SmallDateTime: TediousType; | ||
SmallInt : TediousType; | ||
SmallInt : TediousType; | ||
SmallMoney: TediousType; | ||
@@ -491,6 +491,6 @@ TVP: TediousType; | ||
* @param sql The SQL statement to be executed (or a procedure name, if the request is to be used with connection.callProcedure). | ||
* @param callback The callback is called when the request has completed, either successfully or with an error. If an error occurs during execution of the statement(s), then err will describe the error. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* rowCount: The number of rows emitted as result of executing the SQL statement. | ||
* rows: Rows as a result of executing the SQL statement. Will only be avaiable if Connection's config.options.rowCollectionOnRequestCompletion is true. | ||
* @param callback The callback is called when the request has completed, either successfully or with an error. If an error occurs during execution of the statement(s), then err will describe the error. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* rowCount: The number of rows emitted as result of executing the SQL statement. | ||
* rows: Rows as a result of executing the SQL statement. Will only be avaiable if Connection's config.options.rowCollectionOnRequestCompletion is true. | ||
*/ | ||
@@ -539,5 +539,5 @@ constructor(sql: string, callback: (error: Error, rowCount: number, rows: any[]) => void); | ||
* Adds a column to the bulk load. The column definitions should match the table you are trying to insert into. Attempting to call addColumn after the first row has been added will throw an exception. | ||
* @param name The name of the column. | ||
* @param type One of the supported data types. | ||
* @param options Additional column type information. At a minimum, nullable must be set to true or false. | ||
* @param name The name of the column. | ||
* @param type One of the supported data types. | ||
* @param options Additional column type information. At a minimum, nullable must be set to true or false. | ||
*/ | ||
@@ -553,3 +553,3 @@ addColumn(name: string, type: TediousType, options: BulkLoadColumnOpts): void; | ||
* Adds a row to the bulk insert. This method accepts arguments in three different formats: | ||
* @param columnArray An array representing the values of each column in the same order which they were added to the bulkLoad object. | ||
* @param columnArray An array representing the values of each column in the same order which they were added to the bulkLoad object. | ||
*/ | ||
@@ -676,3 +676,3 @@ addRow(columnArray: any[]): void; | ||
* @param callback The callback is called when the request to commit the transaction has completed, either successfully or with an error. If an error occured then err will describe the error. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
*/ | ||
@@ -684,3 +684,3 @@ commitTransaction(callback: (error: Error) => void): void; | ||
* @param callback The callback is called when the request to rollback the transaction has completed, either successfully or with an error. If an error occured then err will describe the error. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
*/ | ||
@@ -692,3 +692,3 @@ rollbackTransaction(callback: (error: Error) => void): void; | ||
* @param callback The callback is called when the request to set a savepoint within the transaction has completed, either successfully or with an error. If an error occured then err will describe the error. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
*/ | ||
@@ -704,3 +704,3 @@ saveTransaction(callback: (error: Error) => void): void; | ||
* has completed, either successfully or with an error. Additional arguments given to done will be passed through to this callback. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* @param name A string representing a name to associate with the transaction. Optional, and defaults to an empty string. In case of a nested transaction, naming the transaction name has no effect. | ||
@@ -762,3 +762,3 @@ * @param isolationLevel The isolation level that the transaction is to be run with. | ||
* @param callback The callback is called when the connection reset has completed, either successfully or with an error. If an error occured then err will describe the error. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
* As only one request at a time may be executed on a connection, another request should not be initiated until this callback is called. | ||
*/ | ||
@@ -765,0 +765,0 @@ reset(callback: (error: Error) => void): void; |
{ | ||
"name": "@types/tedious", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for tedious", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -45,4 +45,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "6536c7ec0b43d939955e51f9ec1d085d64cdf29d03e9fd60e8a5df86011a5a3a", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "16dba95fee7eb3a2ae539806e7c79e6a6c297ec19e2498530220f1e490f5ef56", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for tedious ( http://tediousjs.github.io/tedious/ ). | ||
This package contains type definitions for tedious (http://tediousjs.github.io/tedious/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tedious | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tedious. | ||
Additional Details | ||
* Last updated: Tue, 04 Jun 2019 00:45:06 GMT | ||
* Dependencies: @types/node | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 13:12:46 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>, Chris Thompson <https://github.com/cjthompson>, Suraiya Hameed <https://github.com/v-suhame>, Guilherme Amorim <https://github.com/guiampm>, Simon Childs <https://github.com/csharpsi>. | ||
These definitions were written by [Rogier Schouten](https://github.com/rogierschouten), [Chris Thompson](https://github.com/cjthompson), [Suraiya Hameed](https://github.com/v-suhame), [Guilherme Amorim](https://github.com/guiampm), and [Simon Childs](https://github.com/csharpsi). |
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
35742