@breautek/storm 3.1.1 → 3.3.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 +28 -0
- package/docs/classes/Application.Application-1.md +76 -24
- package/docs/classes/BackendAuthenticationMiddleware.BackendAuthenticationMiddleware-1.md +3 -4
- package/docs/classes/CORSMiddleware.CORSMiddleware-1.md +6 -6
- package/docs/classes/ConfigLoader.ConfigLoader-1.md +1 -1
- package/docs/classes/Database.Database-1.md +40 -10
- package/docs/classes/DatabaseConnection.DatabaseConnection-1.md +19 -19
- package/docs/classes/DatabaseQueryError.DatabaseQueryError-1.md +8 -8
- package/docs/classes/DiskSpaceError.DiskSpaceError-1.md +8 -8
- package/docs/classes/DropTemporaryTableQuery.DropTemporaryTableQuery-1.md +8 -8
- package/docs/classes/DumpStream.DumpStream-1.md +1 -1
- package/docs/classes/DuplicateEntryError.DuplicateEntryError-1.md +8 -8
- package/docs/classes/EntityNotFoundError.EntityNotFoundError-1.md +8 -8
- package/docs/classes/ExpiredTokenError.ExpiredTokenError-1.md +8 -8
- package/docs/classes/Handler.Handler-1.md +34 -13
- package/docs/classes/InternalError.InternalError-1.md +8 -8
- package/docs/classes/InvalidConfigError.InvalidConfigError-1.md +8 -8
- package/docs/classes/InvalidCredentialsError.InvalidCredentialsError-1.md +8 -8
- package/docs/classes/InvalidValueError.InvalidValueError-1.md +8 -8
- package/docs/classes/JWTVerifyOptionsParser.JWTVerifyOptionsParser-1.md +2 -2
- package/docs/classes/ManagedDatabaseConnection.ManagedDatabaseConnection-1.md +19 -19
- package/docs/classes/Middleware.Middleware-1.md +3 -3
- package/docs/classes/MissingConfigError.MissingConfigError-1.md +8 -8
- package/docs/classes/MissingParameterError.MissingParameterError-1.md +8 -8
- package/docs/classes/MySQLConnection.MySQLConnection-1.md +20 -20
- package/docs/classes/MySQLDatabase.MySQLDatabase-1.md +49 -11
- package/docs/classes/Query.Query-1.md +8 -8
- package/docs/classes/RawQuery.RawQuery-1.md +8 -8
- package/docs/classes/Request.Request-1.md +18 -18
- package/docs/classes/Response.Response-1.md +11 -11
- package/docs/classes/ResponseData.ResponseData-1.md +7 -7
- package/docs/classes/ServiceProvider.ServiceProvider-1.md +15 -15
- package/docs/classes/ServiceResponse.ServiceResponse-1.md +4 -4
- package/docs/classes/StormError.StormError-1.md +8 -8
- package/docs/classes/TemporaryTableQuery.TemporaryTableQuery-1.md +8 -8
- package/docs/classes/Token.Token-1.md +2 -2
- package/docs/classes/TokenManager.TokenManager-1.md +4 -4
- package/docs/classes/UnauthorizedAccessError.UnauthorizedAccessError-1.md +8 -8
- package/docs/classes/private_CommitQuery.CommitQuery.md +8 -8
- package/docs/classes/private_RollbackQuery.RollbackQuery.md +8 -8
- package/docs/classes/private_StartTransactionQuery.StartTransactionQuery.md +8 -8
- package/docs/enums/ApplicationEvent.ApplicationEvent-1.md +1 -1
- package/docs/enums/ErrorCode.ErrorCode-1.md +9 -9
- package/docs/enums/ExitCode.ExitCode-1.md +2 -2
- package/docs/enums/HTTPMethod.HTTPMethod-1.md +4 -4
- package/docs/enums/JWTError.JWTError-1.md +2 -2
- package/docs/enums/StatusCode.StatusCode-1.md +48 -48
- package/docs/interfaces/DropTemporaryTableQuery.IDropTemporaryTableQueryInput.md +1 -1
- package/docs/interfaces/IConfig.IConfig-1.md +8 -8
- package/docs/interfaces/IDatabaseConfig.IDatabaseConfig-1.md +6 -6
- package/docs/interfaces/IDatabaseConnection.IDatabaseConnection-1.md +14 -14
- package/docs/interfaces/IFormData.IFormData-1.md +2 -2
- package/docs/interfaces/IHandler.IHandler-1.md +1 -1
- package/docs/interfaces/IInsertQueryResult.IInsertQueryResult-1.md +3 -3
- package/docs/interfaces/IJWTVerifyOptions.IJWTVerifyOptions-1.md +1 -1
- package/docs/interfaces/IRequestResponse.IRequestResponse-1.md +2 -2
- package/docs/interfaces/IUpdateQueryResult.IUpdateQueryResult-1.md +2 -2
- package/docs/interfaces/StormError.IErrorResponse.md +4 -4
- package/docs/interfaces/TemporaryTableQuery.ITemporaryTableQueryInput.md +2 -2
- package/docs/modules/DatabaseConnection.md +2 -2
- package/docs/modules/Handler.md +2 -2
- package/docs/modules/IDeleteQueryResult.md +1 -1
- package/docs/modules/Response.md +1 -1
- package/docs/modules/instance.md +2 -2
- package/lib/Application.d.ts +4 -0
- package/lib/Application.js +12 -1
- package/lib/Application.js.map +1 -1
- package/lib/BackendAuthenticationMiddleware.d.ts +1 -2
- package/lib/BackendAuthenticationMiddleware.js +1 -1
- package/lib/BackendAuthenticationMiddleware.js.map +1 -1
- package/lib/ConfigLoader.js +1 -1
- package/lib/ConfigLoader.js.map +1 -1
- package/lib/Database.d.ts +2 -0
- package/lib/Database.js +3 -0
- package/lib/Database.js.map +1 -1
- package/lib/Handler.d.ts +1 -0
- package/lib/Handler.js +2 -0
- package/lib/Handler.js.map +1 -1
- package/lib/MySQLDatabase.d.ts +1 -0
- package/lib/MySQLDatabase.js +11 -0
- package/lib/MySQLDatabase.js.map +1 -1
- package/package.json +17 -17
- package/src/Application.ts +15 -1
- package/src/BackendAuthenticationMiddleware.ts +1 -2
- package/src/ConfigLoader.ts +1 -1
- package/src/Database.ts +5 -0
- package/src/Handler.ts +4 -0
- package/src/MySQLDatabase.ts +13 -0
- package/src/defs/merge-change.d.ts +1 -1
|
@@ -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/621aeec/src/MissingConfigError.ts#L27)
|
|
57
57
|
|
|
58
58
|
## Properties
|
|
59
59
|
|
|
@@ -160,7 +160,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
160
160
|
|
|
161
161
|
#### Defined in
|
|
162
162
|
|
|
163
|
-
[src/MissingConfigError.ts:37](https://github.com/breautek/storm/blob/
|
|
163
|
+
[src/MissingConfigError.ts:37](https://github.com/breautek/storm/blob/621aeec/src/MissingConfigError.ts#L37)
|
|
164
164
|
|
|
165
165
|
___
|
|
166
166
|
|
|
@@ -178,7 +178,7 @@ ___
|
|
|
178
178
|
|
|
179
179
|
#### Defined in
|
|
180
180
|
|
|
181
|
-
[src/StormError.ts:70](https://github.com/breautek/storm/blob/
|
|
181
|
+
[src/StormError.ts:70](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L70)
|
|
182
182
|
|
|
183
183
|
___
|
|
184
184
|
|
|
@@ -196,7 +196,7 @@ ___
|
|
|
196
196
|
|
|
197
197
|
#### Defined in
|
|
198
198
|
|
|
199
|
-
[src/MissingConfigError.ts:45](https://github.com/breautek/storm/blob/
|
|
199
|
+
[src/MissingConfigError.ts:45](https://github.com/breautek/storm/blob/621aeec/src/MissingConfigError.ts#L45)
|
|
200
200
|
|
|
201
201
|
___
|
|
202
202
|
|
|
@@ -214,7 +214,7 @@ ___
|
|
|
214
214
|
|
|
215
215
|
#### Defined in
|
|
216
216
|
|
|
217
|
-
[src/MissingConfigError.ts:41](https://github.com/breautek/storm/blob/
|
|
217
|
+
[src/MissingConfigError.ts:41](https://github.com/breautek/storm/blob/621aeec/src/MissingConfigError.ts#L41)
|
|
218
218
|
|
|
219
219
|
___
|
|
220
220
|
|
|
@@ -232,7 +232,7 @@ ___
|
|
|
232
232
|
|
|
233
233
|
#### Defined in
|
|
234
234
|
|
|
235
|
-
[src/MissingConfigError.ts:33](https://github.com/breautek/storm/blob/
|
|
235
|
+
[src/MissingConfigError.ts:33](https://github.com/breautek/storm/blob/621aeec/src/MissingConfigError.ts#L33)
|
|
236
236
|
|
|
237
237
|
___
|
|
238
238
|
|
|
@@ -253,7 +253,7 @@ They are kept secret from the client.
|
|
|
253
253
|
|
|
254
254
|
#### Defined in
|
|
255
255
|
|
|
256
|
-
[src/StormError.ts:62](https://github.com/breautek/storm/blob/
|
|
256
|
+
[src/StormError.ts:62](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L62)
|
|
257
257
|
|
|
258
258
|
___
|
|
259
259
|
|
|
@@ -273,7 +273,7 @@ Sends details to the client.
|
|
|
273
273
|
|
|
274
274
|
#### Defined in
|
|
275
275
|
|
|
276
|
-
[src/StormError.ts:54](https://github.com/breautek/storm/blob/
|
|
276
|
+
[src/StormError.ts:54](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L54)
|
|
277
277
|
|
|
278
278
|
___
|
|
279
279
|
|
|
@@ -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/621aeec/src/MissingParameterError.ts#L22)
|
|
57
57
|
|
|
58
58
|
## Properties
|
|
59
59
|
|
|
@@ -160,7 +160,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
160
160
|
|
|
161
161
|
#### Defined in
|
|
162
162
|
|
|
163
|
-
[src/MissingParameterError.ts:30](https://github.com/breautek/storm/blob/
|
|
163
|
+
[src/MissingParameterError.ts:30](https://github.com/breautek/storm/blob/621aeec/src/MissingParameterError.ts#L30)
|
|
164
164
|
|
|
165
165
|
___
|
|
166
166
|
|
|
@@ -178,7 +178,7 @@ ___
|
|
|
178
178
|
|
|
179
179
|
#### Defined in
|
|
180
180
|
|
|
181
|
-
[src/StormError.ts:70](https://github.com/breautek/storm/blob/
|
|
181
|
+
[src/StormError.ts:70](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L70)
|
|
182
182
|
|
|
183
183
|
___
|
|
184
184
|
|
|
@@ -196,7 +196,7 @@ ___
|
|
|
196
196
|
|
|
197
197
|
#### Defined in
|
|
198
198
|
|
|
199
|
-
[src/StormError.ts:79](https://github.com/breautek/storm/blob/
|
|
199
|
+
[src/StormError.ts:79](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L79)
|
|
200
200
|
|
|
201
201
|
___
|
|
202
202
|
|
|
@@ -214,7 +214,7 @@ ___
|
|
|
214
214
|
|
|
215
215
|
#### Defined in
|
|
216
216
|
|
|
217
|
-
[src/MissingParameterError.ts:34](https://github.com/breautek/storm/blob/
|
|
217
|
+
[src/MissingParameterError.ts:34](https://github.com/breautek/storm/blob/621aeec/src/MissingParameterError.ts#L34)
|
|
218
218
|
|
|
219
219
|
___
|
|
220
220
|
|
|
@@ -232,7 +232,7 @@ ___
|
|
|
232
232
|
|
|
233
233
|
#### Defined in
|
|
234
234
|
|
|
235
|
-
[src/MissingParameterError.ts:26](https://github.com/breautek/storm/blob/
|
|
235
|
+
[src/MissingParameterError.ts:26](https://github.com/breautek/storm/blob/621aeec/src/MissingParameterError.ts#L26)
|
|
236
236
|
|
|
237
237
|
___
|
|
238
238
|
|
|
@@ -253,7 +253,7 @@ They are kept secret from the client.
|
|
|
253
253
|
|
|
254
254
|
#### Defined in
|
|
255
255
|
|
|
256
|
-
[src/StormError.ts:62](https://github.com/breautek/storm/blob/
|
|
256
|
+
[src/StormError.ts:62](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L62)
|
|
257
257
|
|
|
258
258
|
___
|
|
259
259
|
|
|
@@ -273,7 +273,7 @@ Sends details to the client.
|
|
|
273
273
|
|
|
274
274
|
#### Defined in
|
|
275
275
|
|
|
276
|
-
[src/StormError.ts:54](https://github.com/breautek/storm/blob/
|
|
276
|
+
[src/StormError.ts:54](https://github.com/breautek/storm/blob/621aeec/src/StormError.ts#L54)
|
|
277
277
|
|
|
278
278
|
___
|
|
279
279
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
#### Defined in
|
|
60
60
|
|
|
61
|
-
[src/MySQLConnection.ts:46](https://github.com/breautek/storm/blob/
|
|
61
|
+
[src/MySQLConnection.ts:46](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L46)
|
|
62
62
|
|
|
63
63
|
## Methods
|
|
64
64
|
|
|
@@ -87,7 +87,7 @@ Promise<void>
|
|
|
87
87
|
|
|
88
88
|
#### Defined in
|
|
89
89
|
|
|
90
|
-
[src/MySQLConnection.ts:190](https://github.com/breautek/storm/blob/
|
|
90
|
+
[src/MySQLConnection.ts:190](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L190)
|
|
91
91
|
|
|
92
92
|
___
|
|
93
93
|
|
|
@@ -116,7 +116,7 @@ Promise
|
|
|
116
116
|
|
|
117
117
|
#### Defined in
|
|
118
118
|
|
|
119
|
-
[src/MySQLConnection.ts:74](https://github.com/breautek/storm/blob/
|
|
119
|
+
[src/MySQLConnection.ts:74](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L74)
|
|
120
120
|
|
|
121
121
|
___
|
|
122
122
|
|
|
@@ -147,7 +147,7 @@ but returns a `Readable` stream instead.
|
|
|
147
147
|
|
|
148
148
|
#### Defined in
|
|
149
149
|
|
|
150
|
-
[src/MySQLConnection.ts:113](https://github.com/breautek/storm/blob/
|
|
150
|
+
[src/MySQLConnection.ts:113](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L113)
|
|
151
151
|
|
|
152
152
|
___
|
|
153
153
|
|
|
@@ -179,7 +179,7 @@ Promise<void>
|
|
|
179
179
|
|
|
180
180
|
#### Defined in
|
|
181
181
|
|
|
182
|
-
[src/DatabaseConnection.ts:169](https://github.com/breautek/storm/blob/
|
|
182
|
+
[src/DatabaseConnection.ts:169](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L169)
|
|
183
183
|
|
|
184
184
|
___
|
|
185
185
|
|
|
@@ -201,7 +201,7 @@ Promise<void>
|
|
|
201
201
|
|
|
202
202
|
#### Defined in
|
|
203
203
|
|
|
204
|
-
[src/MySQLConnection.ts:174](https://github.com/breautek/storm/blob/
|
|
204
|
+
[src/MySQLConnection.ts:174](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L174)
|
|
205
205
|
|
|
206
206
|
___
|
|
207
207
|
|
|
@@ -229,7 +229,7 @@ Promise<void>
|
|
|
229
229
|
|
|
230
230
|
#### Defined in
|
|
231
231
|
|
|
232
|
-
[src/MySQLConnection.ts:154](https://github.com/breautek/storm/blob/
|
|
232
|
+
[src/MySQLConnection.ts:154](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L154)
|
|
233
233
|
|
|
234
234
|
___
|
|
235
235
|
|
|
@@ -251,7 +251,7 @@ any
|
|
|
251
251
|
|
|
252
252
|
#### Defined in
|
|
253
253
|
|
|
254
|
-
[src/DatabaseConnection.ts:91](https://github.com/breautek/storm/blob/
|
|
254
|
+
[src/DatabaseConnection.ts:91](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L91)
|
|
255
255
|
|
|
256
256
|
___
|
|
257
257
|
|
|
@@ -274,7 +274,7 @@ string - A stacktrace
|
|
|
274
274
|
|
|
275
275
|
#### Defined in
|
|
276
276
|
|
|
277
|
-
[src/DatabaseConnection.ts:73](https://github.com/breautek/storm/blob/
|
|
277
|
+
[src/DatabaseConnection.ts:73](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L73)
|
|
278
278
|
|
|
279
279
|
___
|
|
280
280
|
|
|
@@ -296,7 +296,7 @@ number in milliseconds
|
|
|
296
296
|
|
|
297
297
|
#### Defined in
|
|
298
298
|
|
|
299
|
-
[src/DatabaseConnection.ts:121](https://github.com/breautek/storm/blob/
|
|
299
|
+
[src/DatabaseConnection.ts:121](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L121)
|
|
300
300
|
|
|
301
301
|
___
|
|
302
302
|
|
|
@@ -316,7 +316,7 @@ Returns true if the connection has been closed.
|
|
|
316
316
|
|
|
317
317
|
#### Defined in
|
|
318
318
|
|
|
319
|
-
[src/DatabaseConnection.ts:182](https://github.com/breautek/storm/blob/
|
|
319
|
+
[src/DatabaseConnection.ts:182](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L182)
|
|
320
320
|
|
|
321
321
|
___
|
|
322
322
|
|
|
@@ -330,7 +330,7 @@ ___
|
|
|
330
330
|
|
|
331
331
|
#### Defined in
|
|
332
332
|
|
|
333
|
-
[src/MySQLConnection.ts:69](https://github.com/breautek/storm/blob/
|
|
333
|
+
[src/MySQLConnection.ts:69](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L69)
|
|
334
334
|
|
|
335
335
|
___
|
|
336
336
|
|
|
@@ -353,7 +353,7 @@ boolean
|
|
|
353
353
|
|
|
354
354
|
#### Defined in
|
|
355
355
|
|
|
356
|
-
[src/DatabaseConnection.ts:100](https://github.com/breautek/storm/blob/
|
|
356
|
+
[src/DatabaseConnection.ts:100](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L100)
|
|
357
357
|
|
|
358
358
|
___
|
|
359
359
|
|
|
@@ -375,7 +375,7 @@ boolean
|
|
|
375
375
|
|
|
376
376
|
#### Defined in
|
|
377
377
|
|
|
378
|
-
[src/MySQLConnection.ts:65](https://github.com/breautek/storm/blob/
|
|
378
|
+
[src/MySQLConnection.ts:65](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L65)
|
|
379
379
|
|
|
380
380
|
___
|
|
381
381
|
|
|
@@ -411,7 +411,7 @@ Promise<TQueryResult>
|
|
|
411
411
|
|
|
412
412
|
#### Defined in
|
|
413
413
|
|
|
414
|
-
[src/DatabaseConnection.ts:132](https://github.com/breautek/storm/blob/
|
|
414
|
+
[src/DatabaseConnection.ts:132](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L132)
|
|
415
415
|
|
|
416
416
|
___
|
|
417
417
|
|
|
@@ -433,7 +433,7 @@ Promise<void>
|
|
|
433
433
|
|
|
434
434
|
#### Defined in
|
|
435
435
|
|
|
436
|
-
[src/MySQLConnection.ts:158](https://github.com/breautek/storm/blob/
|
|
436
|
+
[src/MySQLConnection.ts:158](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L158)
|
|
437
437
|
|
|
438
438
|
___
|
|
439
439
|
|
|
@@ -457,7 +457,7 @@ ___
|
|
|
457
457
|
|
|
458
458
|
#### Defined in
|
|
459
459
|
|
|
460
|
-
[src/DatabaseConnection.ts:64](https://github.com/breautek/storm/blob/
|
|
460
|
+
[src/DatabaseConnection.ts:64](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L64)
|
|
461
461
|
|
|
462
462
|
___
|
|
463
463
|
|
|
@@ -483,7 +483,7 @@ Sets the timeout of this connectino
|
|
|
483
483
|
|
|
484
484
|
#### Defined in
|
|
485
485
|
|
|
486
|
-
[src/DatabaseConnection.ts:109](https://github.com/breautek/storm/blob/
|
|
486
|
+
[src/DatabaseConnection.ts:109](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L109)
|
|
487
487
|
|
|
488
488
|
___
|
|
489
489
|
|
|
@@ -505,7 +505,7 @@ Promise<void>
|
|
|
505
505
|
|
|
506
506
|
#### Defined in
|
|
507
507
|
|
|
508
|
-
[src/MySQLConnection.ts:132](https://github.com/breautek/storm/blob/
|
|
508
|
+
[src/MySQLConnection.ts:132](https://github.com/breautek/storm/blob/621aeec/src/MySQLConnection.ts#L132)
|
|
509
509
|
|
|
510
510
|
___
|
|
511
511
|
|
|
@@ -532,4 +532,4 @@ Readable
|
|
|
532
532
|
|
|
533
533
|
#### Defined in
|
|
534
534
|
|
|
535
|
-
[src/DatabaseConnection.ts:152](https://github.com/breautek/storm/blob/
|
|
535
|
+
[src/DatabaseConnection.ts:152](https://github.com/breautek/storm/blob/621aeec/src/DatabaseConnection.ts#L152)
|
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
### Methods
|
|
20
20
|
|
|
21
21
|
- [\_addNode](MySQLDatabase.MySQLDatabase-1.md#_addnode)
|
|
22
|
+
- [\_destroy](MySQLDatabase.MySQLDatabase-1.md#_destroy)
|
|
22
23
|
- [\_getConnection](MySQLDatabase.MySQLDatabase-1.md#_getconnection)
|
|
23
24
|
- [\_removeNode](MySQLDatabase.MySQLDatabase-1.md#_removenode)
|
|
24
25
|
- [addMaster](MySQLDatabase.MySQLDatabase-1.md#addmaster)
|
|
25
26
|
- [addSlave](MySQLDatabase.MySQLDatabase-1.md#addslave)
|
|
27
|
+
- [destroy](MySQLDatabase.MySQLDatabase-1.md#destroy)
|
|
26
28
|
- [escape](MySQLDatabase.MySQLDatabase-1.md#escape)
|
|
27
29
|
- [getConnection](MySQLDatabase.MySQLDatabase-1.md#getconnection)
|
|
28
30
|
- [removeMaster](MySQLDatabase.MySQLDatabase-1.md#removemaster)
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
|
|
42
44
|
#### Defined in
|
|
43
45
|
|
|
44
|
-
[src/MySQLDatabase.ts:27](https://github.com/breautek/storm/blob/
|
|
46
|
+
[src/MySQLDatabase.ts:27](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L27)
|
|
45
47
|
|
|
46
48
|
## Methods
|
|
47
49
|
|
|
@@ -66,7 +68,25 @@
|
|
|
66
68
|
|
|
67
69
|
#### Defined in
|
|
68
70
|
|
|
69
|
-
[src/MySQLDatabase.ts:49](https://github.com/breautek/storm/blob/
|
|
71
|
+
[src/MySQLDatabase.ts:49](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L49)
|
|
72
|
+
|
|
73
|
+
___
|
|
74
|
+
|
|
75
|
+
### \_destroy
|
|
76
|
+
|
|
77
|
+
▸ `Protected` **_destroy**(): `Promise`<`void`\>
|
|
78
|
+
|
|
79
|
+
#### Returns
|
|
80
|
+
|
|
81
|
+
`Promise`<`void`\>
|
|
82
|
+
|
|
83
|
+
#### Overrides
|
|
84
|
+
|
|
85
|
+
[Database](Database.Database-1.md).[_destroy](Database.Database-1.md#_destroy)
|
|
86
|
+
|
|
87
|
+
#### Defined in
|
|
88
|
+
|
|
89
|
+
[src/MySQLDatabase.ts:59](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L59)
|
|
70
90
|
|
|
71
91
|
___
|
|
72
92
|
|
|
@@ -91,7 +111,7 @@ ___
|
|
|
91
111
|
|
|
92
112
|
#### Defined in
|
|
93
113
|
|
|
94
|
-
[src/MySQLDatabase.ts:
|
|
114
|
+
[src/MySQLDatabase.ts:72](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L72)
|
|
95
115
|
|
|
96
116
|
___
|
|
97
117
|
|
|
@@ -115,7 +135,7 @@ ___
|
|
|
115
135
|
|
|
116
136
|
#### Defined in
|
|
117
137
|
|
|
118
|
-
[src/MySQLDatabase.ts:54](https://github.com/breautek/storm/blob/
|
|
138
|
+
[src/MySQLDatabase.ts:54](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L54)
|
|
119
139
|
|
|
120
140
|
___
|
|
121
141
|
|
|
@@ -139,7 +159,7 @@ ___
|
|
|
139
159
|
|
|
140
160
|
#### Defined in
|
|
141
161
|
|
|
142
|
-
[src/Database.ts:32](https://github.com/breautek/storm/blob/
|
|
162
|
+
[src/Database.ts:32](https://github.com/breautek/storm/blob/621aeec/src/Database.ts#L32)
|
|
143
163
|
|
|
144
164
|
___
|
|
145
165
|
|
|
@@ -164,7 +184,25 @@ ___
|
|
|
164
184
|
|
|
165
185
|
#### Defined in
|
|
166
186
|
|
|
167
|
-
[src/Database.ts:46](https://github.com/breautek/storm/blob/
|
|
187
|
+
[src/Database.ts:46](https://github.com/breautek/storm/blob/621aeec/src/Database.ts#L46)
|
|
188
|
+
|
|
189
|
+
___
|
|
190
|
+
|
|
191
|
+
### destroy
|
|
192
|
+
|
|
193
|
+
▸ **destroy**(): `Promise`<`void`\>
|
|
194
|
+
|
|
195
|
+
#### Returns
|
|
196
|
+
|
|
197
|
+
`Promise`<`void`\>
|
|
198
|
+
|
|
199
|
+
#### Inherited from
|
|
200
|
+
|
|
201
|
+
[Database](Database.Database-1.md).[destroy](Database.Database-1.md#destroy)
|
|
202
|
+
|
|
203
|
+
#### Defined in
|
|
204
|
+
|
|
205
|
+
[src/Database.ts:78](https://github.com/breautek/storm/blob/621aeec/src/Database.ts#L78)
|
|
168
206
|
|
|
169
207
|
___
|
|
170
208
|
|
|
@@ -188,7 +226,7 @@ ___
|
|
|
188
226
|
|
|
189
227
|
#### Defined in
|
|
190
228
|
|
|
191
|
-
[src/MySQLDatabase.ts:40](https://github.com/breautek/storm/blob/
|
|
229
|
+
[src/MySQLDatabase.ts:40](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L40)
|
|
192
230
|
|
|
193
231
|
___
|
|
194
232
|
|
|
@@ -213,7 +251,7 @@ ___
|
|
|
213
251
|
|
|
214
252
|
#### Defined in
|
|
215
253
|
|
|
216
|
-
[src/Database.ts:65](https://github.com/breautek/storm/blob/
|
|
254
|
+
[src/Database.ts:65](https://github.com/breautek/storm/blob/621aeec/src/Database.ts#L65)
|
|
217
255
|
|
|
218
256
|
___
|
|
219
257
|
|
|
@@ -231,7 +269,7 @@ ___
|
|
|
231
269
|
|
|
232
270
|
#### Defined in
|
|
233
271
|
|
|
234
|
-
[src/Database.ts:41](https://github.com/breautek/storm/blob/
|
|
272
|
+
[src/Database.ts:41](https://github.com/breautek/storm/blob/621aeec/src/Database.ts#L41)
|
|
235
273
|
|
|
236
274
|
___
|
|
237
275
|
|
|
@@ -255,7 +293,7 @@ ___
|
|
|
255
293
|
|
|
256
294
|
#### Defined in
|
|
257
295
|
|
|
258
|
-
[src/Database.ts:55](https://github.com/breautek/storm/blob/
|
|
296
|
+
[src/Database.ts:55](https://github.com/breautek/storm/blob/621aeec/src/Database.ts#L55)
|
|
259
297
|
|
|
260
298
|
___
|
|
261
299
|
|
|
@@ -275,4 +313,4 @@ ___
|
|
|
275
313
|
|
|
276
314
|
#### Defined in
|
|
277
315
|
|
|
278
|
-
[src/MySQLDatabase.ts:45](https://github.com/breautek/storm/blob/
|
|
316
|
+
[src/MySQLDatabase.ts:45](https://github.com/breautek/storm/blob/621aeec/src/MySQLDatabase.ts#L45)
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
#### Defined in
|
|
68
68
|
|
|
69
|
-
[src/Query.ts:23](https://github.com/breautek/storm/blob/
|
|
69
|
+
[src/Query.ts:23](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L23)
|
|
70
70
|
|
|
71
71
|
## Methods
|
|
72
72
|
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
#### Defined in
|
|
82
82
|
|
|
83
|
-
[src/Query.ts:35](https://github.com/breautek/storm/blob/
|
|
83
|
+
[src/Query.ts:35](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L35)
|
|
84
84
|
|
|
85
85
|
___
|
|
86
86
|
|
|
@@ -100,7 +100,7 @@ ___
|
|
|
100
100
|
|
|
101
101
|
#### Defined in
|
|
102
102
|
|
|
103
|
-
[src/Query.ts:63](https://github.com/breautek/storm/blob/
|
|
103
|
+
[src/Query.ts:63](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L63)
|
|
104
104
|
|
|
105
105
|
___
|
|
106
106
|
|
|
@@ -114,7 +114,7 @@ ___
|
|
|
114
114
|
|
|
115
115
|
#### Defined in
|
|
116
116
|
|
|
117
|
-
[src/Query.ts:27](https://github.com/breautek/storm/blob/
|
|
117
|
+
[src/Query.ts:27](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L27)
|
|
118
118
|
|
|
119
119
|
___
|
|
120
120
|
|
|
@@ -128,7 +128,7 @@ ___
|
|
|
128
128
|
|
|
129
129
|
#### Defined in
|
|
130
130
|
|
|
131
|
-
[src/Query.ts:31](https://github.com/breautek/storm/blob/
|
|
131
|
+
[src/Query.ts:31](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L31)
|
|
132
132
|
|
|
133
133
|
___
|
|
134
134
|
|
|
@@ -142,7 +142,7 @@ ___
|
|
|
142
142
|
|
|
143
143
|
#### Defined in
|
|
144
144
|
|
|
145
|
-
[src/Query.ts:37](https://github.com/breautek/storm/blob/
|
|
145
|
+
[src/Query.ts:37](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L37)
|
|
146
146
|
|
|
147
147
|
___
|
|
148
148
|
|
|
@@ -165,7 +165,7 @@ Override to augment/manipulate the returned result set.
|
|
|
165
165
|
|
|
166
166
|
#### Defined in
|
|
167
167
|
|
|
168
|
-
[src/Query.ts:58](https://github.com/breautek/storm/blob/
|
|
168
|
+
[src/Query.ts:58](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L58)
|
|
169
169
|
|
|
170
170
|
___
|
|
171
171
|
|
|
@@ -188,4 +188,4 @@ Can be used to set session variables or create temporary tables, etc.
|
|
|
188
188
|
|
|
189
189
|
#### Defined in
|
|
190
190
|
|
|
191
|
-
[src/Query.ts:48](https://github.com/breautek/storm/blob/
|
|
191
|
+
[src/Query.ts:48](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L48)
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
#### Defined in
|
|
61
61
|
|
|
62
|
-
[src/RawQuery.ts:22](https://github.com/breautek/storm/blob/
|
|
62
|
+
[src/RawQuery.ts:22](https://github.com/breautek/storm/blob/621aeec/src/RawQuery.ts#L22)
|
|
63
63
|
|
|
64
64
|
## Methods
|
|
65
65
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
#### Defined in
|
|
79
79
|
|
|
80
|
-
[src/RawQuery.ts:27](https://github.com/breautek/storm/blob/
|
|
80
|
+
[src/RawQuery.ts:27](https://github.com/breautek/storm/blob/621aeec/src/RawQuery.ts#L27)
|
|
81
81
|
|
|
82
82
|
___
|
|
83
83
|
|
|
@@ -101,7 +101,7 @@ ___
|
|
|
101
101
|
|
|
102
102
|
#### Defined in
|
|
103
103
|
|
|
104
|
-
[src/Query.ts:63](https://github.com/breautek/storm/blob/
|
|
104
|
+
[src/Query.ts:63](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L63)
|
|
105
105
|
|
|
106
106
|
___
|
|
107
107
|
|
|
@@ -119,7 +119,7 @@ ___
|
|
|
119
119
|
|
|
120
120
|
#### Defined in
|
|
121
121
|
|
|
122
|
-
[src/Query.ts:27](https://github.com/breautek/storm/blob/
|
|
122
|
+
[src/Query.ts:27](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L27)
|
|
123
123
|
|
|
124
124
|
___
|
|
125
125
|
|
|
@@ -137,7 +137,7 @@ ___
|
|
|
137
137
|
|
|
138
138
|
#### Defined in
|
|
139
139
|
|
|
140
|
-
[src/Query.ts:31](https://github.com/breautek/storm/blob/
|
|
140
|
+
[src/Query.ts:31](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L31)
|
|
141
141
|
|
|
142
142
|
___
|
|
143
143
|
|
|
@@ -155,7 +155,7 @@ ___
|
|
|
155
155
|
|
|
156
156
|
#### Defined in
|
|
157
157
|
|
|
158
|
-
[src/Query.ts:37](https://github.com/breautek/storm/blob/
|
|
158
|
+
[src/Query.ts:37](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L37)
|
|
159
159
|
|
|
160
160
|
___
|
|
161
161
|
|
|
@@ -182,7 +182,7 @@ Override to augment/manipulate the returned result set.
|
|
|
182
182
|
|
|
183
183
|
#### Defined in
|
|
184
184
|
|
|
185
|
-
[src/Query.ts:58](https://github.com/breautek/storm/blob/
|
|
185
|
+
[src/Query.ts:58](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L58)
|
|
186
186
|
|
|
187
187
|
___
|
|
188
188
|
|
|
@@ -209,4 +209,4 @@ Can be used to set session variables or create temporary tables, etc.
|
|
|
209
209
|
|
|
210
210
|
#### Defined in
|
|
211
211
|
|
|
212
|
-
[src/Query.ts:48](https://github.com/breautek/storm/blob/
|
|
212
|
+
[src/Query.ts:48](https://github.com/breautek/storm/blob/621aeec/src/Query.ts#L48)
|