UNPKG

37.4 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7var _events = require("events");
8var _errors = require("./errors");
9var _types = require("./always-encrypted/types");
10/**
11 * The callback is called when the request has completed, either successfully or with an error.
12 * If an error occurs during execution of the statement(s), then `err` will describe the error.
13 *
14 * As only one request at a time may be executed on a connection, another request should not
15 * be initiated until this callback is called.
16 *
17 * This callback is called before `requestCompleted` is emitted.
18 */
19
20/**
21 * ```js
22 * const { Request } = require('tedious');
23 * const request = new Request("select 42, 'hello world'", (err, rowCount) {
24 * // Request completion callback...
25 * });
26 * connection.execSql(request);
27 * ```
28 */
29class Request extends _events.EventEmitter {
30 /**
31 * @private
32 */
33
34 /**
35 * @private
36 */
37
38 /**
39 * @private
40 */
41
42 /**
43 * @private
44 */
45
46 /**
47 * @private
48 */
49
50 /**
51 * @private
52 */
53
54 /**
55 * @private
56 */
57
58 /**
59 * @private
60 */
61
62 /**
63 * @private
64 */
65
66 /**
67 * @private
68 */
69
70 /**
71 * @private
72 */
73
74 /**
75 * @private
76 */
77
78 /**
79 * @private
80 */
81
82 /**
83 * @private
84 */
85
86 /**
87 * @private
88 */
89
90 /**
91 * This event, describing result set columns, will be emitted before row
92 * events are emitted. This event may be emitted multiple times when more
93 * than one recordset is produced by the statement.
94 *
95 * An array like object, where the columns can be accessed either by index
96 * or name. Columns with a name that is an integer are not accessible by name,
97 * as it would be interpreted as an array index.
98 */
99
100 /**
101 * The request has been prepared and can be used in subsequent calls to execute and unprepare.
102 */
103
104 /**
105 * The request encountered an error and has not been prepared.
106 */
107
108 /**
109 * A row resulting from execution of the SQL statement.
110 */
111
112 /**
113 * All rows from a result set have been provided (through `row` events).
114 *
115 * This token is used to indicate the completion of a SQL statement.
116 * As multiple SQL statements can be sent to the server in a single SQL batch, multiple `done` can be generated.
117 * An `done` event is emitted for each SQL statement in the SQL batch except variable declarations.
118 * For execution of SQL statements within stored procedures, `doneProc` and `doneInProc` events are used in place of `done`.
119 *
120 * If you are using [[Connection.execSql]] then SQL server may treat the multiple calls with the same query as a stored procedure.
121 * When this occurs, the `doneProc` and `doneInProc` events may be emitted instead. You must handle both events to ensure complete coverage.
122 */
123
124 /**
125 * `request.on('doneInProc', function (rowCount, more, rows) { });`
126 *
127 * Indicates the completion status of a SQL statement within a stored procedure. All rows from a statement
128 * in a stored procedure have been provided (through `row` events).
129 *
130 * This event may also occur when executing multiple calls with the same query using [[execSql]].
131 */
132
133 /**
134 * Indicates the completion status of a stored procedure. This is also generated for stored procedures
135 * executed through SQL statements.\
136 * This event may also occur when executing multiple calls with the same query using [[execSql]].
137 */
138
139 /**
140 * A value for an output parameter (that was added to the request with [[addOutputParameter]]).
141 * See also `Using Parameters`.
142 */
143
144 /**
145 * This event gives the columns by which data is ordered, if `ORDER BY` clause is executed in SQL Server.
146 */
147
148 on(event, listener) {
149 return super.on(event, listener);
150 }
151
152 /**
153 * @private
154 */
155
156 /**
157 * @private
158 */
159
160 /**
161 * @private
162 */
163
164 /**
165 * @private
166 */
167
168 /**
169 * @private
170 */
171
172 /**
173 * @private
174 */
175
176 /**
177 * @private
178 */
179
180 /**
181 * @private
182 */
183
184 /**
185 * @private
186 */
187
188 /**
189 * @private
190 */
191
192 /**
193 * @private
194 */
195
196 /**
197 * @private
198 */
199
200 /**
201 * @private
202 */
203
204 emit(event, ...args) {
205 return super.emit(event, ...args);
206 }
207
208 /**
209 * @param sqlTextOrProcedure
210 * The SQL statement to be executed
211 *
212 * @param callback
213 * The callback to execute once the request has been fully completed.
214 */
215 constructor(sqlTextOrProcedure, callback, options) {
216 super();
217 this.sqlTextOrProcedure = sqlTextOrProcedure;
218 this.parameters = [];
219 this.parametersByName = {};
220 this.preparing = false;
221 this.handle = undefined;
222 this.canceled = false;
223 this.paused = false;
224 this.error = undefined;
225 this.connection = undefined;
226 this.timeout = undefined;
227 this.userCallback = callback;
228 this.statementColumnEncryptionSetting = options && options.statementColumnEncryptionSetting || _types.SQLServerStatementColumnEncryptionSetting.UseConnectionSetting;
229 this.cryptoMetadataLoaded = false;
230 this.callback = function (err, rowCount, rows) {
231 if (this.preparing) {
232 this.preparing = false;
233 if (err) {
234 this.emit('error', err);
235 } else {
236 this.emit('prepared');
237 }
238 } else {
239 this.userCallback(err, rowCount, rows);
240 this.emit('requestCompleted');
241 }
242 };
243 }
244
245 /**
246 * @param name
247 * The parameter name. This should correspond to a parameter in the SQL,
248 * or a parameter that a called procedure expects. The name should not start with `@`.
249 *
250 * @param type
251 * One of the supported data types.
252 *
253 * @param value
254 * The value that the parameter is to be given. The Javascript type of the
255 * argument should match that documented for data types.
256 *
257 * @param options
258 * Additional type options. Optional.
259 */
260 // TODO: `type` must be a valid TDS value type
261 addParameter(name, type, value, options) {
262 const {
263 output = false,
264 length,
265 precision,
266 scale
267 } = options ?? {};
268 const parameter = {
269 type: type,
270 name: name,
271 value: value,
272 output: output,
273 length: length,
274 precision: precision,
275 scale: scale
276 };
277 this.parameters.push(parameter);
278 this.parametersByName[name] = parameter;
279 }
280
281 /**
282 * @param name
283 * The parameter name. This should correspond to a parameter in the SQL,
284 * or a parameter that a called procedure expects.
285 *
286 * @param type
287 * One of the supported data types.
288 *
289 * @param value
290 * The value that the parameter is to be given. The Javascript type of the
291 * argument should match that documented for data types
292 *
293 * @param options
294 * Additional type options. Optional.
295 */
296 addOutputParameter(name, type, value, options) {
297 this.addParameter(name, type, value, {
298 ...options,
299 output: true
300 });
301 }
302
303 /**
304 * @private
305 */
306 makeParamsParameter(parameters) {
307 let paramsParameter = '';
308 for (let i = 0, len = parameters.length; i < len; i++) {
309 const parameter = parameters[i];
310 if (paramsParameter.length > 0) {
311 paramsParameter += ', ';
312 }
313 paramsParameter += '@' + parameter.name + ' ';
314 paramsParameter += parameter.type.declaration(parameter);
315 if (parameter.output) {
316 paramsParameter += ' OUTPUT';
317 }
318 }
319 return paramsParameter;
320 }
321
322 /**
323 * @private
324 */
325 validateParameters(collation) {
326 for (let i = 0, len = this.parameters.length; i < len; i++) {
327 const parameter = this.parameters[i];
328 try {
329 parameter.value = parameter.type.validate(parameter.value, collation);
330 } catch (error) {
331 throw new _errors.RequestError('Validation failed for parameter \'' + parameter.name + '\'. ' + error.message, 'EPARAM');
332 }
333 }
334 }
335
336 /**
337 * Temporarily suspends the flow of data from the database. No more `row` events will be emitted until [[resume] is called.
338 * If this request is already in a paused state, calling [[pause]] has no effect.
339 */
340 pause() {
341 if (this.paused) {
342 return;
343 }
344 this.emit('pause');
345 this.paused = true;
346 }
347
348 /**
349 * Resumes the flow of data from the database.
350 * If this request is not in a paused state, calling [[resume]] has no effect.
351 */
352 resume() {
353 if (!this.paused) {
354 return;
355 }
356 this.paused = false;
357 this.emit('resume');
358 }
359
360 /**
361 * Cancels a request while waiting for a server response.
362 */
363 cancel() {
364 if (this.canceled) {
365 return;
366 }
367 this.canceled = true;
368 this.emit('cancel');
369 }
370
371 /**
372 * Sets a timeout for this request.
373 *
374 * @param timeout
375 * The number of milliseconds before the request is considered failed,
376 * or `0` for no timeout. When no timeout is set for the request,
377 * the [[ConnectionOptions.requestTimeout]] of the [[Connection]] is used.
378 */
379 setTimeout(timeout) {
380 this.timeout = timeout;
381 }
382}
383var _default = exports.default = Request;
384module.exports = Request;
385//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfZXZlbnRzIiwicmVxdWlyZSIsIl9lcnJvcnMiLCJfdHlwZXMiLCJSZXF1ZXN0IiwiRXZlbnRFbWl0dGVyIiwib24iLCJldmVudCIsImxpc3RlbmVyIiwiZW1pdCIsImFyZ3MiLCJjb25zdHJ1Y3RvciIsInNxbFRleHRPclByb2NlZHVyZSIsImNhbGxiYWNrIiwib3B0aW9ucyIsInBhcmFtZXRlcnMiLCJwYXJhbWV0ZXJzQnlOYW1lIiwicHJlcGFyaW5nIiwiaGFuZGxlIiwidW5kZWZpbmVkIiwiY2FuY2VsZWQiLCJwYXVzZWQiLCJlcnJvciIsImNvbm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