@breautek/storm 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/docs/README.md +19 -4
- package/docs/classes/Application.md +26 -26
- package/docs/classes/BackendAuthenticationMiddleware.md +2 -2
- package/docs/classes/CORSMiddleware.md +6 -6
- package/docs/classes/ConfigLoader.md +1 -1
- package/docs/classes/Database.md +12 -12
- package/docs/classes/DatabaseCastObject.md +79 -0
- package/docs/classes/DatabaseConnection.md +19 -19
- package/docs/classes/DatabaseQueryError.md +10 -10
- package/docs/classes/DeadLockError.md +10 -10
- package/docs/classes/DiskSpaceError.md +10 -10
- package/docs/classes/DropTemporaryTableQuery.md +8 -8
- package/docs/classes/DumpStream.md +1 -1
- package/docs/classes/DuplicateEntryError.md +10 -10
- package/docs/classes/EntityNotFoundError.md +10 -10
- package/docs/classes/ExpiredTokenError.md +10 -10
- package/docs/classes/Handler.md +14 -14
- package/docs/classes/InternalError.md +10 -10
- package/docs/classes/InvalidCredentialsError.md +10 -10
- package/docs/classes/InvalidValueError.md +10 -10
- package/docs/classes/LineString.md +101 -0
- package/docs/classes/ManagedDatabaseConnection.md +19 -19
- package/docs/classes/Middleware.md +3 -3
- package/docs/classes/MissingConfigError.md +10 -10
- package/docs/classes/MissingParameterError.md +10 -10
- package/docs/classes/MySQLConnection.md +20 -20
- package/docs/classes/MySQLDatabase.md +13 -13
- package/docs/classes/NotImplementedError.md +10 -10
- package/docs/classes/Point.md +102 -0
- package/docs/classes/Polygon.md +101 -0
- package/docs/classes/Query.md +8 -8
- package/docs/classes/RawError.md +10 -10
- package/docs/classes/RawQuery.md +8 -8
- package/docs/classes/Request.md +18 -18
- package/docs/classes/Response.md +11 -11
- package/docs/classes/ResponseData.md +7 -7
- package/docs/classes/ServiceProvider.md +15 -15
- package/docs/classes/ServiceResponse.md +4 -4
- package/docs/classes/SetSessionVariableQuery.md +8 -8
- package/docs/classes/StormError.md +10 -10
- package/docs/classes/TemporaryTableQuery.md +8 -8
- package/docs/classes/Token.md +2 -2
- package/docs/classes/TokenManager.md +4 -4
- package/docs/classes/UnauthorizedAccessError.md +10 -10
- package/docs/enums/ErrorCode.md +9 -9
- package/docs/enums/ExitCode.md +2 -2
- package/docs/enums/HTTPMethod.md +4 -4
- package/docs/enums/JWTError.md +2 -2
- package/docs/enums/StatusCode.md +48 -48
- package/docs/interfaces/IConfig.md +8 -8
- package/docs/interfaces/IDatabaseConfig.md +6 -6
- package/docs/interfaces/IDatabaseConnection.md +14 -14
- package/docs/interfaces/IErrorResponse.md +5 -5
- package/docs/interfaces/IFormData.md +2 -2
- package/docs/interfaces/IHandler.md +1 -1
- package/docs/interfaces/IInsertQueryResult.md +3 -3
- package/docs/interfaces/IJWTVerifyOptions.md +1 -1
- package/docs/interfaces/IRequestResponse.md +2 -2
- package/docs/interfaces/ISetSessionVariableQueryInput.md +2 -2
- package/docs/interfaces/ITemporaryTableQueryInput.md +2 -2
- package/docs/interfaces/IUpdateQueryResult.md +2 -2
- package/lib/DatabaseCastObject.d.ts +5 -0
- package/lib/DatabaseCastObject.js +29 -0
- package/lib/DatabaseCastObject.js.map +1 -0
- package/lib/LineString.d.ts +7 -0
- package/lib/LineString.js +41 -0
- package/lib/LineString.js.map +1 -0
- package/lib/MySQLConnection.js +2 -0
- package/lib/MySQLConnection.js.map +1 -1
- package/lib/Point.d.ts +7 -0
- package/lib/Point.js +31 -0
- package/lib/Point.js.map +1 -0
- package/lib/Polygon.d.ts +7 -0
- package/lib/Polygon.js +52 -0
- package/lib/Polygon.js.map +1 -0
- package/lib/TCoordinate.d.ts +1 -0
- package/lib/TCoordinate.js +18 -0
- package/lib/TCoordinate.js.map +1 -0
- package/lib/api.d.ts +5 -0
- package/lib/api.js +9 -1
- package/lib/api.js.map +1 -1
- package/package.json +1 -1
- package/src/DatabaseCastObject.ts +29 -0
- package/src/LineString.ts +47 -0
- package/src/MySQLConnection.ts +2 -0
- package/src/Point.ts +33 -0
- package/src/Polygon.ts +60 -0
- package/src/TCoordinate.ts +17 -0
- package/src/api.ts +7 -0
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
#### Defined in
|
|
49
49
|
|
|
50
|
-
[src/ManagedDatabaseConnection.ts:37](https://github.com/breautek/storm/blob/
|
|
50
|
+
[src/ManagedDatabaseConnection.ts:37](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L37)
|
|
51
51
|
|
|
52
52
|
## Methods
|
|
53
53
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
#### Defined in
|
|
73
73
|
|
|
74
|
-
[src/ManagedDatabaseConnection.ts:152](https://github.com/breautek/storm/blob/
|
|
74
|
+
[src/ManagedDatabaseConnection.ts:152](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L152)
|
|
75
75
|
|
|
76
76
|
___
|
|
77
77
|
|
|
@@ -89,7 +89,7 @@ ___
|
|
|
89
89
|
|
|
90
90
|
#### Defined in
|
|
91
91
|
|
|
92
|
-
[src/ManagedDatabaseConnection.ts:189](https://github.com/breautek/storm/blob/
|
|
92
|
+
[src/ManagedDatabaseConnection.ts:189](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L189)
|
|
93
93
|
|
|
94
94
|
___
|
|
95
95
|
|
|
@@ -107,7 +107,7 @@ ___
|
|
|
107
107
|
|
|
108
108
|
#### Defined in
|
|
109
109
|
|
|
110
|
-
[src/ManagedDatabaseConnection.ts:237](https://github.com/breautek/storm/blob/
|
|
110
|
+
[src/ManagedDatabaseConnection.ts:237](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L237)
|
|
111
111
|
|
|
112
112
|
___
|
|
113
113
|
|
|
@@ -125,7 +125,7 @@ ___
|
|
|
125
125
|
|
|
126
126
|
#### Defined in
|
|
127
127
|
|
|
128
|
-
[src/ManagedDatabaseConnection.ts:104](https://github.com/breautek/storm/blob/
|
|
128
|
+
[src/ManagedDatabaseConnection.ts:104](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L104)
|
|
129
129
|
|
|
130
130
|
___
|
|
131
131
|
|
|
@@ -143,7 +143,7 @@ ___
|
|
|
143
143
|
|
|
144
144
|
#### Defined in
|
|
145
145
|
|
|
146
|
-
[src/ManagedDatabaseConnection.ts:129](https://github.com/breautek/storm/blob/
|
|
146
|
+
[src/ManagedDatabaseConnection.ts:129](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L129)
|
|
147
147
|
|
|
148
148
|
___
|
|
149
149
|
|
|
@@ -157,7 +157,7 @@ ___
|
|
|
157
157
|
|
|
158
158
|
#### Defined in
|
|
159
159
|
|
|
160
|
-
[src/ManagedDatabaseConnection.ts:91](https://github.com/breautek/storm/blob/
|
|
160
|
+
[src/ManagedDatabaseConnection.ts:91](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L91)
|
|
161
161
|
|
|
162
162
|
___
|
|
163
163
|
|
|
@@ -175,7 +175,7 @@ ___
|
|
|
175
175
|
|
|
176
176
|
#### Defined in
|
|
177
177
|
|
|
178
|
-
[src/ManagedDatabaseConnection.ts:74](https://github.com/breautek/storm/blob/
|
|
178
|
+
[src/ManagedDatabaseConnection.ts:74](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L74)
|
|
179
179
|
|
|
180
180
|
___
|
|
181
181
|
|
|
@@ -189,7 +189,7 @@ ___
|
|
|
189
189
|
|
|
190
190
|
#### Defined in
|
|
191
191
|
|
|
192
|
-
[src/ManagedDatabaseConnection.ts:87](https://github.com/breautek/storm/blob/
|
|
192
|
+
[src/ManagedDatabaseConnection.ts:87](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L87)
|
|
193
193
|
|
|
194
194
|
___
|
|
195
195
|
|
|
@@ -207,7 +207,7 @@ ___
|
|
|
207
207
|
|
|
208
208
|
#### Defined in
|
|
209
209
|
|
|
210
|
-
[src/ManagedDatabaseConnection.ts:113](https://github.com/breautek/storm/blob/
|
|
210
|
+
[src/ManagedDatabaseConnection.ts:113](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L113)
|
|
211
211
|
|
|
212
212
|
___
|
|
213
213
|
|
|
@@ -225,7 +225,7 @@ ___
|
|
|
225
225
|
|
|
226
226
|
#### Defined in
|
|
227
227
|
|
|
228
|
-
[src/ManagedDatabaseConnection.ts:180](https://github.com/breautek/storm/blob/
|
|
228
|
+
[src/ManagedDatabaseConnection.ts:180](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L180)
|
|
229
229
|
|
|
230
230
|
___
|
|
231
231
|
|
|
@@ -239,7 +239,7 @@ ___
|
|
|
239
239
|
|
|
240
240
|
#### Defined in
|
|
241
241
|
|
|
242
|
-
[src/ManagedDatabaseConnection.ts:83](https://github.com/breautek/storm/blob/
|
|
242
|
+
[src/ManagedDatabaseConnection.ts:83](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L83)
|
|
243
243
|
|
|
244
244
|
___
|
|
245
245
|
|
|
@@ -264,7 +264,7 @@ ___
|
|
|
264
264
|
|
|
265
265
|
#### Defined in
|
|
266
266
|
|
|
267
|
-
[src/ManagedDatabaseConnection.ts:139](https://github.com/breautek/storm/blob/
|
|
267
|
+
[src/ManagedDatabaseConnection.ts:139](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L139)
|
|
268
268
|
|
|
269
269
|
___
|
|
270
270
|
|
|
@@ -282,7 +282,7 @@ ___
|
|
|
282
282
|
|
|
283
283
|
#### Defined in
|
|
284
284
|
|
|
285
|
-
[src/ManagedDatabaseConnection.ts:202](https://github.com/breautek/storm/blob/
|
|
285
|
+
[src/ManagedDatabaseConnection.ts:202](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L202)
|
|
286
286
|
|
|
287
287
|
___
|
|
288
288
|
|
|
@@ -302,7 +302,7 @@ ___
|
|
|
302
302
|
|
|
303
303
|
#### Defined in
|
|
304
304
|
|
|
305
|
-
[src/ManagedDatabaseConnection.ts:44](https://github.com/breautek/storm/blob/
|
|
305
|
+
[src/ManagedDatabaseConnection.ts:44](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L44)
|
|
306
306
|
|
|
307
307
|
___
|
|
308
308
|
|
|
@@ -326,7 +326,7 @@ ___
|
|
|
326
326
|
|
|
327
327
|
#### Defined in
|
|
328
328
|
|
|
329
|
-
[src/ManagedDatabaseConnection.ts:95](https://github.com/breautek/storm/blob/
|
|
329
|
+
[src/ManagedDatabaseConnection.ts:95](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L95)
|
|
330
330
|
|
|
331
331
|
___
|
|
332
332
|
|
|
@@ -350,7 +350,7 @@ ___
|
|
|
350
350
|
|
|
351
351
|
#### Defined in
|
|
352
352
|
|
|
353
|
-
[src/ManagedDatabaseConnection.ts:123](https://github.com/breautek/storm/blob/
|
|
353
|
+
[src/ManagedDatabaseConnection.ts:123](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L123)
|
|
354
354
|
|
|
355
355
|
___
|
|
356
356
|
|
|
@@ -368,7 +368,7 @@ ___
|
|
|
368
368
|
|
|
369
369
|
#### Defined in
|
|
370
370
|
|
|
371
|
-
[src/ManagedDatabaseConnection.ts:167](https://github.com/breautek/storm/blob/
|
|
371
|
+
[src/ManagedDatabaseConnection.ts:167](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L167)
|
|
372
372
|
|
|
373
373
|
___
|
|
374
374
|
|
|
@@ -394,4 +394,4 @@ ___
|
|
|
394
394
|
|
|
395
395
|
#### Defined in
|
|
396
396
|
|
|
397
|
-
[src/ManagedDatabaseConnection.ts:148](https://github.com/breautek/storm/blob/
|
|
397
|
+
[src/ManagedDatabaseConnection.ts:148](https://github.com/breautek/storm/blob/dc7102f/src/ManagedDatabaseConnection.ts#L148)
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
#### Defined in
|
|
29
29
|
|
|
30
|
-
[src/Middleware.ts:23](https://github.com/breautek/storm/blob/
|
|
30
|
+
[src/Middleware.ts:23](https://github.com/breautek/storm/blob/dc7102f/src/Middleware.ts#L23)
|
|
31
31
|
|
|
32
32
|
## Methods
|
|
33
33
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[src/Middleware.ts:25](https://github.com/breautek/storm/blob/
|
|
51
|
+
[src/Middleware.ts:25](https://github.com/breautek/storm/blob/dc7102f/src/Middleware.ts#L25)
|
|
52
52
|
|
|
53
53
|
___
|
|
54
54
|
|
|
@@ -69,4 +69,4 @@ ___
|
|
|
69
69
|
|
|
70
70
|
#### Defined in
|
|
71
71
|
|
|
72
|
-
[src/Middleware.ts:27](https://github.com/breautek/storm/blob/
|
|
72
|
+
[src/Middleware.ts:27](https://github.com/breautek/storm/blob/dc7102f/src/Middleware.ts#L27)
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
#### Defined in
|
|
55
55
|
|
|
56
|
-
[src/MissingConfigError.ts:27](https://github.com/breautek/storm/blob/
|
|
56
|
+
[src/MissingConfigError.ts:27](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L27)
|
|
57
57
|
|
|
58
58
|
## Properties
|
|
59
59
|
|
|
@@ -162,7 +162,7 @@ node_modules/@types/node/ts4.8/globals.d.ts:13
|
|
|
162
162
|
|
|
163
163
|
#### Defined in
|
|
164
164
|
|
|
165
|
-
[src/MissingConfigError.ts:37](https://github.com/breautek/storm/blob/
|
|
165
|
+
[src/MissingConfigError.ts:37](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L37)
|
|
166
166
|
|
|
167
167
|
___
|
|
168
168
|
|
|
@@ -180,7 +180,7 @@ ___
|
|
|
180
180
|
|
|
181
181
|
#### Defined in
|
|
182
182
|
|
|
183
|
-
[src/StormError.ts:76](https://github.com/breautek/storm/blob/
|
|
183
|
+
[src/StormError.ts:76](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L76)
|
|
184
184
|
|
|
185
185
|
___
|
|
186
186
|
|
|
@@ -198,7 +198,7 @@ ___
|
|
|
198
198
|
|
|
199
199
|
#### Defined in
|
|
200
200
|
|
|
201
|
-
[src/MissingConfigError.ts:45](https://github.com/breautek/storm/blob/
|
|
201
|
+
[src/MissingConfigError.ts:45](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L45)
|
|
202
202
|
|
|
203
203
|
___
|
|
204
204
|
|
|
@@ -216,7 +216,7 @@ ___
|
|
|
216
216
|
|
|
217
217
|
#### Defined in
|
|
218
218
|
|
|
219
|
-
[src/MissingConfigError.ts:41](https://github.com/breautek/storm/blob/
|
|
219
|
+
[src/MissingConfigError.ts:41](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L41)
|
|
220
220
|
|
|
221
221
|
___
|
|
222
222
|
|
|
@@ -234,7 +234,7 @@ ___
|
|
|
234
234
|
|
|
235
235
|
#### Defined in
|
|
236
236
|
|
|
237
|
-
[src/MissingConfigError.ts:49](https://github.com/breautek/storm/blob/
|
|
237
|
+
[src/MissingConfigError.ts:49](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L49)
|
|
238
238
|
|
|
239
239
|
___
|
|
240
240
|
|
|
@@ -252,7 +252,7 @@ ___
|
|
|
252
252
|
|
|
253
253
|
#### Defined in
|
|
254
254
|
|
|
255
|
-
[src/MissingConfigError.ts:53](https://github.com/breautek/storm/blob/
|
|
255
|
+
[src/MissingConfigError.ts:53](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L53)
|
|
256
256
|
|
|
257
257
|
___
|
|
258
258
|
|
|
@@ -270,7 +270,7 @@ ___
|
|
|
270
270
|
|
|
271
271
|
#### Defined in
|
|
272
272
|
|
|
273
|
-
[src/MissingConfigError.ts:33](https://github.com/breautek/storm/blob/
|
|
273
|
+
[src/MissingConfigError.ts:33](https://github.com/breautek/storm/blob/dc7102f/src/MissingConfigError.ts#L33)
|
|
274
274
|
|
|
275
275
|
___
|
|
276
276
|
|
|
@@ -291,7 +291,7 @@ They are kept secret from the client.
|
|
|
291
291
|
|
|
292
292
|
#### Defined in
|
|
293
293
|
|
|
294
|
-
[src/StormError.ts:68](https://github.com/breautek/storm/blob/
|
|
294
|
+
[src/StormError.ts:68](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L68)
|
|
295
295
|
|
|
296
296
|
___
|
|
297
297
|
|
|
@@ -311,7 +311,7 @@ Sends details to the client.
|
|
|
311
311
|
|
|
312
312
|
#### Defined in
|
|
313
313
|
|
|
314
|
-
[src/StormError.ts:60](https://github.com/breautek/storm/blob/
|
|
314
|
+
[src/StormError.ts:60](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L60)
|
|
315
315
|
|
|
316
316
|
___
|
|
317
317
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
#### Defined in
|
|
55
55
|
|
|
56
|
-
[src/MissingParameterError.ts:22](https://github.com/breautek/storm/blob/
|
|
56
|
+
[src/MissingParameterError.ts:22](https://github.com/breautek/storm/blob/dc7102f/src/MissingParameterError.ts#L22)
|
|
57
57
|
|
|
58
58
|
## Properties
|
|
59
59
|
|
|
@@ -162,7 +162,7 @@ node_modules/@types/node/ts4.8/globals.d.ts:13
|
|
|
162
162
|
|
|
163
163
|
#### Defined in
|
|
164
164
|
|
|
165
|
-
[src/MissingParameterError.ts:30](https://github.com/breautek/storm/blob/
|
|
165
|
+
[src/MissingParameterError.ts:30](https://github.com/breautek/storm/blob/dc7102f/src/MissingParameterError.ts#L30)
|
|
166
166
|
|
|
167
167
|
___
|
|
168
168
|
|
|
@@ -180,7 +180,7 @@ ___
|
|
|
180
180
|
|
|
181
181
|
#### Defined in
|
|
182
182
|
|
|
183
|
-
[src/StormError.ts:76](https://github.com/breautek/storm/blob/
|
|
183
|
+
[src/StormError.ts:76](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L76)
|
|
184
184
|
|
|
185
185
|
___
|
|
186
186
|
|
|
@@ -198,7 +198,7 @@ ___
|
|
|
198
198
|
|
|
199
199
|
#### Defined in
|
|
200
200
|
|
|
201
|
-
[src/StormError.ts:97](https://github.com/breautek/storm/blob/
|
|
201
|
+
[src/StormError.ts:97](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L97)
|
|
202
202
|
|
|
203
203
|
___
|
|
204
204
|
|
|
@@ -216,7 +216,7 @@ ___
|
|
|
216
216
|
|
|
217
217
|
#### Defined in
|
|
218
218
|
|
|
219
|
-
[src/MissingParameterError.ts:34](https://github.com/breautek/storm/blob/
|
|
219
|
+
[src/MissingParameterError.ts:34](https://github.com/breautek/storm/blob/dc7102f/src/MissingParameterError.ts#L34)
|
|
220
220
|
|
|
221
221
|
___
|
|
222
222
|
|
|
@@ -234,7 +234,7 @@ ___
|
|
|
234
234
|
|
|
235
235
|
#### Defined in
|
|
236
236
|
|
|
237
|
-
[src/MissingParameterError.ts:38](https://github.com/breautek/storm/blob/
|
|
237
|
+
[src/MissingParameterError.ts:38](https://github.com/breautek/storm/blob/dc7102f/src/MissingParameterError.ts#L38)
|
|
238
238
|
|
|
239
239
|
___
|
|
240
240
|
|
|
@@ -252,7 +252,7 @@ ___
|
|
|
252
252
|
|
|
253
253
|
#### Defined in
|
|
254
254
|
|
|
255
|
-
[src/MissingParameterError.ts:42](https://github.com/breautek/storm/blob/
|
|
255
|
+
[src/MissingParameterError.ts:42](https://github.com/breautek/storm/blob/dc7102f/src/MissingParameterError.ts#L42)
|
|
256
256
|
|
|
257
257
|
___
|
|
258
258
|
|
|
@@ -270,7 +270,7 @@ ___
|
|
|
270
270
|
|
|
271
271
|
#### Defined in
|
|
272
272
|
|
|
273
|
-
[src/MissingParameterError.ts:26](https://github.com/breautek/storm/blob/
|
|
273
|
+
[src/MissingParameterError.ts:26](https://github.com/breautek/storm/blob/dc7102f/src/MissingParameterError.ts#L26)
|
|
274
274
|
|
|
275
275
|
___
|
|
276
276
|
|
|
@@ -291,7 +291,7 @@ They are kept secret from the client.
|
|
|
291
291
|
|
|
292
292
|
#### Defined in
|
|
293
293
|
|
|
294
|
-
[src/StormError.ts:68](https://github.com/breautek/storm/blob/
|
|
294
|
+
[src/StormError.ts:68](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L68)
|
|
295
295
|
|
|
296
296
|
___
|
|
297
297
|
|
|
@@ -311,7 +311,7 @@ Sends details to the client.
|
|
|
311
311
|
|
|
312
312
|
#### Defined in
|
|
313
313
|
|
|
314
|
-
[src/StormError.ts:60](https://github.com/breautek/storm/blob/
|
|
314
|
+
[src/StormError.ts:60](https://github.com/breautek/storm/blob/dc7102f/src/StormError.ts#L60)
|
|
315
315
|
|
|
316
316
|
___
|
|
317
317
|
|
|
@@ -64,7 +64,7 @@ Do not call `new Database` directly. Use `Database.getConnection` to create a `D
|
|
|
64
64
|
|
|
65
65
|
#### Defined in
|
|
66
66
|
|
|
67
|
-
[src/MySQLConnection.ts:48](https://github.com/breautek/storm/blob/
|
|
67
|
+
[src/MySQLConnection.ts:48](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L48)
|
|
68
68
|
|
|
69
69
|
## Methods
|
|
70
70
|
|
|
@@ -95,7 +95,7 @@ Promise<void>
|
|
|
95
95
|
|
|
96
96
|
#### Defined in
|
|
97
97
|
|
|
98
|
-
[src/MySQLConnection.ts:
|
|
98
|
+
[src/MySQLConnection.ts:202](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L202)
|
|
99
99
|
|
|
100
100
|
___
|
|
101
101
|
|
|
@@ -126,7 +126,7 @@ Promise
|
|
|
126
126
|
|
|
127
127
|
#### Defined in
|
|
128
128
|
|
|
129
|
-
[src/MySQLConnection.ts:76](https://github.com/breautek/storm/blob/
|
|
129
|
+
[src/MySQLConnection.ts:76](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L76)
|
|
130
130
|
|
|
131
131
|
___
|
|
132
132
|
|
|
@@ -157,7 +157,7 @@ but returns a `Readable` stream instead.
|
|
|
157
157
|
|
|
158
158
|
#### Defined in
|
|
159
159
|
|
|
160
|
-
[src/MySQLConnection.ts:
|
|
160
|
+
[src/MySQLConnection.ts:125](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L125)
|
|
161
161
|
|
|
162
162
|
___
|
|
163
163
|
|
|
@@ -189,7 +189,7 @@ Promise<void>
|
|
|
189
189
|
|
|
190
190
|
#### Defined in
|
|
191
191
|
|
|
192
|
-
[src/DatabaseConnection.ts:168](https://github.com/breautek/storm/blob/
|
|
192
|
+
[src/DatabaseConnection.ts:168](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L168)
|
|
193
193
|
|
|
194
194
|
___
|
|
195
195
|
|
|
@@ -215,7 +215,7 @@ Promise<void>
|
|
|
215
215
|
|
|
216
216
|
#### Defined in
|
|
217
217
|
|
|
218
|
-
[src/MySQLConnection.ts:
|
|
218
|
+
[src/MySQLConnection.ts:186](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L186)
|
|
219
219
|
|
|
220
220
|
___
|
|
221
221
|
|
|
@@ -247,7 +247,7 @@ Promise<void>
|
|
|
247
247
|
|
|
248
248
|
#### Defined in
|
|
249
249
|
|
|
250
|
-
[src/MySQLConnection.ts:
|
|
250
|
+
[src/MySQLConnection.ts:166](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L166)
|
|
251
251
|
|
|
252
252
|
___
|
|
253
253
|
|
|
@@ -269,7 +269,7 @@ any
|
|
|
269
269
|
|
|
270
270
|
#### Defined in
|
|
271
271
|
|
|
272
|
-
[src/DatabaseConnection.ts:90](https://github.com/breautek/storm/blob/
|
|
272
|
+
[src/DatabaseConnection.ts:90](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L90)
|
|
273
273
|
|
|
274
274
|
___
|
|
275
275
|
|
|
@@ -292,7 +292,7 @@ string - A stacktrace
|
|
|
292
292
|
|
|
293
293
|
#### Defined in
|
|
294
294
|
|
|
295
|
-
[src/DatabaseConnection.ts:72](https://github.com/breautek/storm/blob/
|
|
295
|
+
[src/DatabaseConnection.ts:72](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L72)
|
|
296
296
|
|
|
297
297
|
___
|
|
298
298
|
|
|
@@ -314,7 +314,7 @@ number in milliseconds
|
|
|
314
314
|
|
|
315
315
|
#### Defined in
|
|
316
316
|
|
|
317
|
-
[src/DatabaseConnection.ts:120](https://github.com/breautek/storm/blob/
|
|
317
|
+
[src/DatabaseConnection.ts:120](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L120)
|
|
318
318
|
|
|
319
319
|
___
|
|
320
320
|
|
|
@@ -334,7 +334,7 @@ Returns true if the connection has been closed.
|
|
|
334
334
|
|
|
335
335
|
#### Defined in
|
|
336
336
|
|
|
337
|
-
[src/DatabaseConnection.ts:181](https://github.com/breautek/storm/blob/
|
|
337
|
+
[src/DatabaseConnection.ts:181](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L181)
|
|
338
338
|
|
|
339
339
|
___
|
|
340
340
|
|
|
@@ -348,7 +348,7 @@ ___
|
|
|
348
348
|
|
|
349
349
|
#### Defined in
|
|
350
350
|
|
|
351
|
-
[src/MySQLConnection.ts:71](https://github.com/breautek/storm/blob/
|
|
351
|
+
[src/MySQLConnection.ts:71](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L71)
|
|
352
352
|
|
|
353
353
|
___
|
|
354
354
|
|
|
@@ -371,7 +371,7 @@ boolean
|
|
|
371
371
|
|
|
372
372
|
#### Defined in
|
|
373
373
|
|
|
374
|
-
[src/DatabaseConnection.ts:99](https://github.com/breautek/storm/blob/
|
|
374
|
+
[src/DatabaseConnection.ts:99](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L99)
|
|
375
375
|
|
|
376
376
|
___
|
|
377
377
|
|
|
@@ -395,7 +395,7 @@ boolean
|
|
|
395
395
|
|
|
396
396
|
#### Defined in
|
|
397
397
|
|
|
398
|
-
[src/MySQLConnection.ts:67](https://github.com/breautek/storm/blob/
|
|
398
|
+
[src/MySQLConnection.ts:67](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L67)
|
|
399
399
|
|
|
400
400
|
___
|
|
401
401
|
|
|
@@ -431,7 +431,7 @@ Promise<TQueryResult>
|
|
|
431
431
|
|
|
432
432
|
#### Defined in
|
|
433
433
|
|
|
434
|
-
[src/DatabaseConnection.ts:131](https://github.com/breautek/storm/blob/
|
|
434
|
+
[src/DatabaseConnection.ts:131](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L131)
|
|
435
435
|
|
|
436
436
|
___
|
|
437
437
|
|
|
@@ -457,7 +457,7 @@ Promise<void>
|
|
|
457
457
|
|
|
458
458
|
#### Defined in
|
|
459
459
|
|
|
460
|
-
[src/MySQLConnection.ts:
|
|
460
|
+
[src/MySQLConnection.ts:170](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L170)
|
|
461
461
|
|
|
462
462
|
___
|
|
463
463
|
|
|
@@ -481,7 +481,7 @@ ___
|
|
|
481
481
|
|
|
482
482
|
#### Defined in
|
|
483
483
|
|
|
484
|
-
[src/DatabaseConnection.ts:63](https://github.com/breautek/storm/blob/
|
|
484
|
+
[src/DatabaseConnection.ts:63](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L63)
|
|
485
485
|
|
|
486
486
|
___
|
|
487
487
|
|
|
@@ -507,7 +507,7 @@ Sets the timeout of this connectino
|
|
|
507
507
|
|
|
508
508
|
#### Defined in
|
|
509
509
|
|
|
510
|
-
[src/DatabaseConnection.ts:108](https://github.com/breautek/storm/blob/
|
|
510
|
+
[src/DatabaseConnection.ts:108](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L108)
|
|
511
511
|
|
|
512
512
|
___
|
|
513
513
|
|
|
@@ -533,7 +533,7 @@ Promise<void>
|
|
|
533
533
|
|
|
534
534
|
#### Defined in
|
|
535
535
|
|
|
536
|
-
[src/MySQLConnection.ts:
|
|
536
|
+
[src/MySQLConnection.ts:144](https://github.com/breautek/storm/blob/dc7102f/src/MySQLConnection.ts#L144)
|
|
537
537
|
|
|
538
538
|
___
|
|
539
539
|
|
|
@@ -560,4 +560,4 @@ Readable
|
|
|
560
560
|
|
|
561
561
|
#### Defined in
|
|
562
562
|
|
|
563
|
-
[src/DatabaseConnection.ts:151](https://github.com/breautek/storm/blob/
|
|
563
|
+
[src/DatabaseConnection.ts:151](https://github.com/breautek/storm/blob/dc7102f/src/DatabaseConnection.ts#L151)
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
#### Defined in
|
|
43
43
|
|
|
44
|
-
[src/MySQLDatabase.ts:27](https://github.com/breautek/storm/blob/
|
|
44
|
+
[src/MySQLDatabase.ts:27](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L27)
|
|
45
45
|
|
|
46
46
|
## Methods
|
|
47
47
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
#### Defined in
|
|
68
68
|
|
|
69
|
-
[src/MySQLDatabase.ts:49](https://github.com/breautek/storm/blob/
|
|
69
|
+
[src/MySQLDatabase.ts:49](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L49)
|
|
70
70
|
|
|
71
71
|
___
|
|
72
72
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/MySQLDatabase.ts:59](https://github.com/breautek/storm/blob/
|
|
87
|
+
[src/MySQLDatabase.ts:59](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L59)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -109,7 +109,7 @@ ___
|
|
|
109
109
|
|
|
110
110
|
#### Defined in
|
|
111
111
|
|
|
112
|
-
[src/MySQLDatabase.ts:72](https://github.com/breautek/storm/blob/
|
|
112
|
+
[src/MySQLDatabase.ts:72](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L72)
|
|
113
113
|
|
|
114
114
|
___
|
|
115
115
|
|
|
@@ -133,7 +133,7 @@ ___
|
|
|
133
133
|
|
|
134
134
|
#### Defined in
|
|
135
135
|
|
|
136
|
-
[src/MySQLDatabase.ts:54](https://github.com/breautek/storm/blob/
|
|
136
|
+
[src/MySQLDatabase.ts:54](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L54)
|
|
137
137
|
|
|
138
138
|
___
|
|
139
139
|
|
|
@@ -157,7 +157,7 @@ ___
|
|
|
157
157
|
|
|
158
158
|
#### Defined in
|
|
159
159
|
|
|
160
|
-
[src/Database.ts:31](https://github.com/breautek/storm/blob/
|
|
160
|
+
[src/Database.ts:31](https://github.com/breautek/storm/blob/dc7102f/src/Database.ts#L31)
|
|
161
161
|
|
|
162
162
|
___
|
|
163
163
|
|
|
@@ -182,7 +182,7 @@ ___
|
|
|
182
182
|
|
|
183
183
|
#### Defined in
|
|
184
184
|
|
|
185
|
-
[src/Database.ts:45](https://github.com/breautek/storm/blob/
|
|
185
|
+
[src/Database.ts:45](https://github.com/breautek/storm/blob/dc7102f/src/Database.ts#L45)
|
|
186
186
|
|
|
187
187
|
___
|
|
188
188
|
|
|
@@ -200,7 +200,7 @@ ___
|
|
|
200
200
|
|
|
201
201
|
#### Defined in
|
|
202
202
|
|
|
203
|
-
[src/Database.ts:77](https://github.com/breautek/storm/blob/
|
|
203
|
+
[src/Database.ts:77](https://github.com/breautek/storm/blob/dc7102f/src/Database.ts#L77)
|
|
204
204
|
|
|
205
205
|
___
|
|
206
206
|
|
|
@@ -224,7 +224,7 @@ ___
|
|
|
224
224
|
|
|
225
225
|
#### Defined in
|
|
226
226
|
|
|
227
|
-
[src/MySQLDatabase.ts:40](https://github.com/breautek/storm/blob/
|
|
227
|
+
[src/MySQLDatabase.ts:40](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L40)
|
|
228
228
|
|
|
229
229
|
___
|
|
230
230
|
|
|
@@ -249,7 +249,7 @@ ___
|
|
|
249
249
|
|
|
250
250
|
#### Defined in
|
|
251
251
|
|
|
252
|
-
[src/Database.ts:64](https://github.com/breautek/storm/blob/
|
|
252
|
+
[src/Database.ts:64](https://github.com/breautek/storm/blob/dc7102f/src/Database.ts#L64)
|
|
253
253
|
|
|
254
254
|
___
|
|
255
255
|
|
|
@@ -267,7 +267,7 @@ ___
|
|
|
267
267
|
|
|
268
268
|
#### Defined in
|
|
269
269
|
|
|
270
|
-
[src/Database.ts:40](https://github.com/breautek/storm/blob/
|
|
270
|
+
[src/Database.ts:40](https://github.com/breautek/storm/blob/dc7102f/src/Database.ts#L40)
|
|
271
271
|
|
|
272
272
|
___
|
|
273
273
|
|
|
@@ -291,7 +291,7 @@ ___
|
|
|
291
291
|
|
|
292
292
|
#### Defined in
|
|
293
293
|
|
|
294
|
-
[src/Database.ts:54](https://github.com/breautek/storm/blob/
|
|
294
|
+
[src/Database.ts:54](https://github.com/breautek/storm/blob/dc7102f/src/Database.ts#L54)
|
|
295
295
|
|
|
296
296
|
___
|
|
297
297
|
|
|
@@ -311,4 +311,4 @@ ___
|
|
|
311
311
|
|
|
312
312
|
#### Defined in
|
|
313
313
|
|
|
314
|
-
[src/MySQLDatabase.ts:45](https://github.com/breautek/storm/blob/
|
|
314
|
+
[src/MySQLDatabase.ts:45](https://github.com/breautek/storm/blob/dc7102f/src/MySQLDatabase.ts#L45)
|