postgresql-client
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -29,2 +29,6 @@ import { SafeEventEmitter } from './SafeEventEmitter'; | ||
/** | ||
* Returns information parameters for current session | ||
*/ | ||
get sessionParameters(): Record<string, string>; | ||
/** | ||
* Returns secret key of current session | ||
@@ -31,0 +35,0 @@ */ |
@@ -54,2 +54,8 @@ "use strict"; | ||
/** | ||
* Returns information parameters for current session | ||
*/ | ||
get sessionParameters() { | ||
return this._intlCon.sessionParameters; | ||
} | ||
/** | ||
* Returns secret key of current session | ||
@@ -56,0 +62,0 @@ */ |
@@ -81,2 +81,1 @@ "use strict"; | ||
exports.Cursor = Cursor; | ||
//# sourceMappingURL=Cursor.js.map |
@@ -18,2 +18,3 @@ import TaskQueue from 'putil-taskqueue'; | ||
get secretKey(): Maybe<number>; | ||
get sessionParameters(): Record<string, string>; | ||
connect(): Promise<void>; | ||
@@ -20,0 +21,0 @@ close(): Promise<void>; |
@@ -47,2 +47,5 @@ "use strict"; | ||
} | ||
get sessionParameters() { | ||
return this.socket.sessionParameters; | ||
} | ||
async connect() { | ||
@@ -49,0 +52,0 @@ if (this.socket.state === definitions_1.ConnectionState.READY) |
@@ -25,2 +25,3 @@ /// <reference types="node" /> | ||
get secretKey(): Maybe<number>; | ||
get sessionParameters(): Record<string, string>; | ||
connect(): void; | ||
@@ -27,0 +28,0 @@ close(): void; |
@@ -26,2 +26,3 @@ "use strict"; | ||
this._frontend = new Frontend_1.Frontend(); | ||
this._sessionParameters = {}; | ||
this.setMaxListeners(99); | ||
@@ -40,2 +41,5 @@ } | ||
} | ||
get sessionParameters() { | ||
return this._sessionParameters; | ||
} | ||
connect() { | ||
@@ -42,0 +46,0 @@ if (this._socket) |
{ | ||
"name": "postgresql-client", | ||
"description": "Professional PostgreSQL client for JavaScript and TypeScript", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"author": "Panates", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
302859
4678