@breautek/storm 4.6.3 → 5.0.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 +31 -0
- package/docs/README.md +7 -5
- 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 +3 -3
- package/docs/classes/DatabaseConnection.md +21 -21
- 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 +10 -10
- 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 +13 -34
- 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 +4 -4
- 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 +22 -22
- package/docs/classes/MySQLDatabase.md +13 -13
- package/docs/classes/NotImplementedError.md +10 -10
- package/docs/classes/Point.md +4 -4
- package/docs/classes/Polygon.md +4 -4
- package/docs/classes/Query.md +34 -10
- package/docs/classes/RawError.md +10 -10
- package/docs/classes/RawQuery.md +10 -10
- 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 +19 -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/Transaction.md +161 -0
- 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/IsolationLevel.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 +16 -16
- 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/IQueryable.md +119 -0
- 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/jest.config.js +9 -5
- package/lib/DatabaseConnection.d.ts +3 -3
- package/lib/DatabaseConnection.js.map +1 -1
- package/lib/Handler.d.ts +0 -1
- package/lib/Handler.js +0 -2
- package/lib/Handler.js.map +1 -1
- package/lib/IDatabaseConnection.d.ts +3 -3
- package/lib/IQueryable.d.ts +8 -0
- package/lib/IQueryable.js +18 -0
- package/lib/IQueryable.js.map +1 -0
- package/lib/MySQLConnection.js +15 -4
- package/lib/MySQLConnection.js.map +1 -1
- package/lib/Query.d.ts +3 -2
- package/lib/Query.js.map +1 -1
- package/lib/ServiceResponse.d.ts +2 -0
- package/lib/ServiceResponse.js +3 -0
- package/lib/ServiceResponse.js.map +1 -1
- package/lib/SetSessionVariableQuery.js +2 -2
- package/lib/SetSessionVariableQuery.js.map +1 -1
- package/lib/Transaction.d.ts +24 -0
- package/lib/Transaction.js +82 -0
- package/lib/Transaction.js.map +1 -0
- package/lib/api.d.ts +2 -0
- package/lib/api.js +4 -2
- package/lib/api.js.map +1 -1
- package/package.json +12 -12
- package/src/DatabaseConnection.ts +4 -4
- package/src/Handler.ts +0 -4
- package/src/IDatabaseConnection.ts +3 -3
- package/src/IQueryable.ts +25 -0
- package/src/MySQLConnection.ts +15 -4
- package/src/Query.ts +3 -2
- package/src/ServiceResponse.ts +5 -0
- package/src/SetSessionVariableQuery.ts +2 -2
- package/src/Transaction.ts +97 -0
- package/src/api.ts +2 -0
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
#### Defined in
|
|
55
55
|
|
|
56
|
-
[src/NotImplementedError.ts:27](https://github.com/breautek/storm/blob/
|
|
56
|
+
[src/NotImplementedError.ts:27](https://github.com/breautek/storm/blob/3748147/src/NotImplementedError.ts#L27)
|
|
57
57
|
|
|
58
58
|
## Properties
|
|
59
59
|
|
|
@@ -162,7 +162,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
162
162
|
|
|
163
163
|
#### Defined in
|
|
164
164
|
|
|
165
|
-
[src/NotImplementedError.ts:38](https://github.com/breautek/storm/blob/
|
|
165
|
+
[src/NotImplementedError.ts:38](https://github.com/breautek/storm/blob/3748147/src/NotImplementedError.ts#L38)
|
|
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/3748147/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/3748147/src/StormError.ts#L97)
|
|
202
202
|
|
|
203
203
|
___
|
|
204
204
|
|
|
@@ -216,7 +216,7 @@ ___
|
|
|
216
216
|
|
|
217
217
|
#### Defined in
|
|
218
218
|
|
|
219
|
-
[src/NotImplementedError.ts:42](https://github.com/breautek/storm/blob/
|
|
219
|
+
[src/NotImplementedError.ts:42](https://github.com/breautek/storm/blob/3748147/src/NotImplementedError.ts#L42)
|
|
220
220
|
|
|
221
221
|
___
|
|
222
222
|
|
|
@@ -234,7 +234,7 @@ ___
|
|
|
234
234
|
|
|
235
235
|
#### Defined in
|
|
236
236
|
|
|
237
|
-
[src/NotImplementedError.ts:46](https://github.com/breautek/storm/blob/
|
|
237
|
+
[src/NotImplementedError.ts:46](https://github.com/breautek/storm/blob/3748147/src/NotImplementedError.ts#L46)
|
|
238
238
|
|
|
239
239
|
___
|
|
240
240
|
|
|
@@ -252,7 +252,7 @@ ___
|
|
|
252
252
|
|
|
253
253
|
#### Defined in
|
|
254
254
|
|
|
255
|
-
[src/NotImplementedError.ts:50](https://github.com/breautek/storm/blob/
|
|
255
|
+
[src/NotImplementedError.ts:50](https://github.com/breautek/storm/blob/3748147/src/NotImplementedError.ts#L50)
|
|
256
256
|
|
|
257
257
|
___
|
|
258
258
|
|
|
@@ -270,7 +270,7 @@ ___
|
|
|
270
270
|
|
|
271
271
|
#### Defined in
|
|
272
272
|
|
|
273
|
-
[src/NotImplementedError.ts:33](https://github.com/breautek/storm/blob/
|
|
273
|
+
[src/NotImplementedError.ts:33](https://github.com/breautek/storm/blob/3748147/src/NotImplementedError.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/3748147/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/3748147/src/StormError.ts#L60)
|
|
315
315
|
|
|
316
316
|
___
|
|
317
317
|
|
package/docs/classes/Point.md
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
#### Defined in
|
|
41
41
|
|
|
42
|
-
[src/Point.ts:23](https://github.com/breautek/storm/blob/
|
|
42
|
+
[src/Point.ts:23](https://github.com/breautek/storm/blob/3748147/src/Point.ts#L23)
|
|
43
43
|
|
|
44
44
|
## Methods
|
|
45
45
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
#### Defined in
|
|
59
59
|
|
|
60
|
-
[src/Point.ts:30](https://github.com/breautek/storm/blob/
|
|
60
|
+
[src/Point.ts:30](https://github.com/breautek/storm/blob/3748147/src/Point.ts#L30)
|
|
61
61
|
|
|
62
62
|
___
|
|
63
63
|
|
|
@@ -81,7 +81,7 @@ ___
|
|
|
81
81
|
|
|
82
82
|
#### Defined in
|
|
83
83
|
|
|
84
|
-
[src/DatabaseCastObject.ts:24](https://github.com/breautek/storm/blob/
|
|
84
|
+
[src/DatabaseCastObject.ts:24](https://github.com/breautek/storm/blob/3748147/src/DatabaseCastObject.ts#L24)
|
|
85
85
|
|
|
86
86
|
___
|
|
87
87
|
|
|
@@ -99,4 +99,4 @@ ___
|
|
|
99
99
|
|
|
100
100
|
#### Defined in
|
|
101
101
|
|
|
102
|
-
[src/DatabaseCastObject.ts:20](https://github.com/breautek/storm/blob/
|
|
102
|
+
[src/DatabaseCastObject.ts:20](https://github.com/breautek/storm/blob/3748147/src/DatabaseCastObject.ts#L20)
|
package/docs/classes/Polygon.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
#### Defined in
|
|
40
40
|
|
|
41
|
-
[src/Polygon.ts:23](https://github.com/breautek/storm/blob/
|
|
41
|
+
[src/Polygon.ts:23](https://github.com/breautek/storm/blob/3748147/src/Polygon.ts#L23)
|
|
42
42
|
|
|
43
43
|
## Methods
|
|
44
44
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
#### Defined in
|
|
58
58
|
|
|
59
|
-
[src/Polygon.ts:29](https://github.com/breautek/storm/blob/
|
|
59
|
+
[src/Polygon.ts:29](https://github.com/breautek/storm/blob/3748147/src/Polygon.ts#L29)
|
|
60
60
|
|
|
61
61
|
___
|
|
62
62
|
|
|
@@ -80,7 +80,7 @@ ___
|
|
|
80
80
|
|
|
81
81
|
#### Defined in
|
|
82
82
|
|
|
83
|
-
[src/DatabaseCastObject.ts:24](https://github.com/breautek/storm/blob/
|
|
83
|
+
[src/DatabaseCastObject.ts:24](https://github.com/breautek/storm/blob/3748147/src/DatabaseCastObject.ts#L24)
|
|
84
84
|
|
|
85
85
|
___
|
|
86
86
|
|
|
@@ -98,4 +98,4 @@ ___
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[src/DatabaseCastObject.ts:20](https://github.com/breautek/storm/blob/
|
|
101
|
+
[src/DatabaseCastObject.ts:20](https://github.com/breautek/storm/blob/3748147/src/DatabaseCastObject.ts#L20)
|
package/docs/classes/Query.md
CHANGED
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
|
|
23
23
|
↳ [`SetSessionVariableQuery`](SetSessionVariableQuery.md)
|
|
24
24
|
|
|
25
|
+
## Implements
|
|
26
|
+
|
|
27
|
+
- [`IQueryable`](../interfaces/IQueryable.md)<`TQueryPostProcessedResultSet`\>
|
|
28
|
+
|
|
25
29
|
## Table of contents
|
|
26
30
|
|
|
27
31
|
### Constructors
|
|
@@ -60,7 +64,7 @@
|
|
|
60
64
|
|
|
61
65
|
#### Defined in
|
|
62
66
|
|
|
63
|
-
[src/Query.ts:
|
|
67
|
+
[src/Query.ts:23](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L23)
|
|
64
68
|
|
|
65
69
|
## Methods
|
|
66
70
|
|
|
@@ -80,7 +84,7 @@
|
|
|
80
84
|
|
|
81
85
|
#### Defined in
|
|
82
86
|
|
|
83
|
-
[src/Query.ts:
|
|
87
|
+
[src/Query.ts:43](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L43)
|
|
84
88
|
|
|
85
89
|
___
|
|
86
90
|
|
|
@@ -98,9 +102,13 @@ ___
|
|
|
98
102
|
|
|
99
103
|
`Promise`<`TQueryPostProcessedResultSet`\>
|
|
100
104
|
|
|
105
|
+
#### Implementation of
|
|
106
|
+
|
|
107
|
+
[IQueryable](../interfaces/IQueryable.md).[execute](../interfaces/IQueryable.md#execute)
|
|
108
|
+
|
|
101
109
|
#### Defined in
|
|
102
110
|
|
|
103
|
-
[src/Query.ts:
|
|
111
|
+
[src/Query.ts:71](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L71)
|
|
104
112
|
|
|
105
113
|
___
|
|
106
114
|
|
|
@@ -116,25 +124,29 @@ parameters that was passed into the constructor.
|
|
|
116
124
|
|
|
117
125
|
#### Defined in
|
|
118
126
|
|
|
119
|
-
[src/Query.ts:
|
|
127
|
+
[src/Query.ts:30](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L30)
|
|
120
128
|
|
|
121
129
|
___
|
|
122
130
|
|
|
123
131
|
### getParametersForQuery
|
|
124
132
|
|
|
125
|
-
▸ **getParametersForQuery**(): `Record`<`
|
|
133
|
+
▸ **getParametersForQuery**(): `Record`<`string`, `any`\>
|
|
126
134
|
|
|
127
135
|
Query implementations may override this API to augment the parameters.
|
|
128
136
|
|
|
129
137
|
#### Returns
|
|
130
138
|
|
|
131
|
-
`Record`<`
|
|
139
|
+
`Record`<`string`, `any`\>
|
|
132
140
|
|
|
133
141
|
parameters that will be used when this query is ran.
|
|
134
142
|
|
|
143
|
+
#### Implementation of
|
|
144
|
+
|
|
145
|
+
[IQueryable](../interfaces/IQueryable.md).[getParametersForQuery](../interfaces/IQueryable.md#getparametersforquery)
|
|
146
|
+
|
|
135
147
|
#### Defined in
|
|
136
148
|
|
|
137
|
-
[src/Query.ts:
|
|
149
|
+
[src/Query.ts:39](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L39)
|
|
138
150
|
|
|
139
151
|
___
|
|
140
152
|
|
|
@@ -152,9 +164,13 @@ ___
|
|
|
152
164
|
|
|
153
165
|
`string`
|
|
154
166
|
|
|
167
|
+
#### Implementation of
|
|
168
|
+
|
|
169
|
+
[IQueryable](../interfaces/IQueryable.md).[getQuery](../interfaces/IQueryable.md#getquery)
|
|
170
|
+
|
|
155
171
|
#### Defined in
|
|
156
172
|
|
|
157
|
-
[src/Query.ts:
|
|
173
|
+
[src/Query.ts:45](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L45)
|
|
158
174
|
|
|
159
175
|
___
|
|
160
176
|
|
|
@@ -175,9 +191,13 @@ Override to augment/manipulate the returned result set.
|
|
|
175
191
|
|
|
176
192
|
`Promise`<`TQueryPostProcessedResultSet`\>
|
|
177
193
|
|
|
194
|
+
#### Implementation of
|
|
195
|
+
|
|
196
|
+
[IQueryable](../interfaces/IQueryable.md).[onPostProcess](../interfaces/IQueryable.md#onpostprocess)
|
|
197
|
+
|
|
178
198
|
#### Defined in
|
|
179
199
|
|
|
180
|
-
[src/Query.ts:
|
|
200
|
+
[src/Query.ts:66](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L66)
|
|
181
201
|
|
|
182
202
|
___
|
|
183
203
|
|
|
@@ -198,6 +218,10 @@ Can be used to set session variables or create temporary tables, etc.
|
|
|
198
218
|
|
|
199
219
|
`Promise`<`void`\>
|
|
200
220
|
|
|
221
|
+
#### Implementation of
|
|
222
|
+
|
|
223
|
+
[IQueryable](../interfaces/IQueryable.md).[onPreQuery](../interfaces/IQueryable.md#onprequery)
|
|
224
|
+
|
|
201
225
|
#### Defined in
|
|
202
226
|
|
|
203
|
-
[src/Query.ts:
|
|
227
|
+
[src/Query.ts:56](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L56)
|
package/docs/classes/RawError.md
CHANGED
|
@@ -58,7 +58,7 @@ tag name.
|
|
|
58
58
|
|
|
59
59
|
#### Defined in
|
|
60
60
|
|
|
61
|
-
[src/RawError.ts:25](https://github.com/breautek/storm/blob/
|
|
61
|
+
[src/RawError.ts:25](https://github.com/breautek/storm/blob/3748147/src/RawError.ts#L25)
|
|
62
62
|
|
|
63
63
|
## Properties
|
|
64
64
|
|
|
@@ -167,7 +167,7 @@ node_modules/@types/node/globals.d.ts:13
|
|
|
167
167
|
|
|
168
168
|
#### Defined in
|
|
169
169
|
|
|
170
|
-
[src/RawError.ts:32](https://github.com/breautek/storm/blob/
|
|
170
|
+
[src/RawError.ts:32](https://github.com/breautek/storm/blob/3748147/src/RawError.ts#L32)
|
|
171
171
|
|
|
172
172
|
___
|
|
173
173
|
|
|
@@ -185,7 +185,7 @@ ___
|
|
|
185
185
|
|
|
186
186
|
#### Defined in
|
|
187
187
|
|
|
188
|
-
[src/StormError.ts:76](https://github.com/breautek/storm/blob/
|
|
188
|
+
[src/StormError.ts:76](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L76)
|
|
189
189
|
|
|
190
190
|
___
|
|
191
191
|
|
|
@@ -203,7 +203,7 @@ ___
|
|
|
203
203
|
|
|
204
204
|
#### Defined in
|
|
205
205
|
|
|
206
|
-
[src/StormError.ts:97](https://github.com/breautek/storm/blob/
|
|
206
|
+
[src/StormError.ts:97](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L97)
|
|
207
207
|
|
|
208
208
|
___
|
|
209
209
|
|
|
@@ -221,7 +221,7 @@ ___
|
|
|
221
221
|
|
|
222
222
|
#### Defined in
|
|
223
223
|
|
|
224
|
-
[src/StormError.ts:72](https://github.com/breautek/storm/blob/
|
|
224
|
+
[src/StormError.ts:72](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L72)
|
|
225
225
|
|
|
226
226
|
___
|
|
227
227
|
|
|
@@ -239,7 +239,7 @@ ___
|
|
|
239
239
|
|
|
240
240
|
#### Defined in
|
|
241
241
|
|
|
242
|
-
[src/StormError.ts:89](https://github.com/breautek/storm/blob/
|
|
242
|
+
[src/StormError.ts:89](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L89)
|
|
243
243
|
|
|
244
244
|
___
|
|
245
245
|
|
|
@@ -257,7 +257,7 @@ ___
|
|
|
257
257
|
|
|
258
258
|
#### Defined in
|
|
259
259
|
|
|
260
|
-
[src/StormError.ts:93](https://github.com/breautek/storm/blob/
|
|
260
|
+
[src/StormError.ts:93](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L93)
|
|
261
261
|
|
|
262
262
|
___
|
|
263
263
|
|
|
@@ -275,7 +275,7 @@ ___
|
|
|
275
275
|
|
|
276
276
|
#### Defined in
|
|
277
277
|
|
|
278
|
-
[src/RawError.ts:36](https://github.com/breautek/storm/blob/
|
|
278
|
+
[src/RawError.ts:36](https://github.com/breautek/storm/blob/3748147/src/RawError.ts#L36)
|
|
279
279
|
|
|
280
280
|
___
|
|
281
281
|
|
|
@@ -301,7 +301,7 @@ They are kept secret from the client.
|
|
|
301
301
|
|
|
302
302
|
#### Defined in
|
|
303
303
|
|
|
304
|
-
[src/StormError.ts:68](https://github.com/breautek/storm/blob/
|
|
304
|
+
[src/StormError.ts:68](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L68)
|
|
305
305
|
|
|
306
306
|
___
|
|
307
307
|
|
|
@@ -321,7 +321,7 @@ Sends details to the client.
|
|
|
321
321
|
|
|
322
322
|
#### Defined in
|
|
323
323
|
|
|
324
|
-
[src/StormError.ts:60](https://github.com/breautek/storm/blob/
|
|
324
|
+
[src/StormError.ts:60](https://github.com/breautek/storm/blob/3748147/src/StormError.ts#L60)
|
|
325
325
|
|
|
326
326
|
___
|
|
327
327
|
|
package/docs/classes/RawQuery.md
CHANGED
|
@@ -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/3748147/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/3748147/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:
|
|
104
|
+
[src/Query.ts:71](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L71)
|
|
105
105
|
|
|
106
106
|
___
|
|
107
107
|
|
|
@@ -121,19 +121,19 @@ parameters that was passed into the constructor.
|
|
|
121
121
|
|
|
122
122
|
#### Defined in
|
|
123
123
|
|
|
124
|
-
[src/Query.ts:
|
|
124
|
+
[src/Query.ts:30](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L30)
|
|
125
125
|
|
|
126
126
|
___
|
|
127
127
|
|
|
128
128
|
### getParametersForQuery
|
|
129
129
|
|
|
130
|
-
▸ **getParametersForQuery**(): `Record`<`
|
|
130
|
+
▸ **getParametersForQuery**(): `Record`<`string`, `any`\>
|
|
131
131
|
|
|
132
132
|
Query implementations may override this API to augment the parameters.
|
|
133
133
|
|
|
134
134
|
#### Returns
|
|
135
135
|
|
|
136
|
-
`Record`<`
|
|
136
|
+
`Record`<`string`, `any`\>
|
|
137
137
|
|
|
138
138
|
parameters that will be used when this query is ran.
|
|
139
139
|
|
|
@@ -143,7 +143,7 @@ parameters that will be used when this query is ran.
|
|
|
143
143
|
|
|
144
144
|
#### Defined in
|
|
145
145
|
|
|
146
|
-
[src/Query.ts:
|
|
146
|
+
[src/Query.ts:39](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L39)
|
|
147
147
|
|
|
148
148
|
___
|
|
149
149
|
|
|
@@ -167,7 +167,7 @@ ___
|
|
|
167
167
|
|
|
168
168
|
#### Defined in
|
|
169
169
|
|
|
170
|
-
[src/Query.ts:
|
|
170
|
+
[src/Query.ts:45](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L45)
|
|
171
171
|
|
|
172
172
|
___
|
|
173
173
|
|
|
@@ -194,7 +194,7 @@ Override to augment/manipulate the returned result set.
|
|
|
194
194
|
|
|
195
195
|
#### Defined in
|
|
196
196
|
|
|
197
|
-
[src/Query.ts:
|
|
197
|
+
[src/Query.ts:66](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L66)
|
|
198
198
|
|
|
199
199
|
___
|
|
200
200
|
|
|
@@ -221,4 +221,4 @@ Can be used to set session variables or create temporary tables, etc.
|
|
|
221
221
|
|
|
222
222
|
#### Defined in
|
|
223
223
|
|
|
224
|
-
[src/Query.ts:
|
|
224
|
+
[src/Query.ts:56](https://github.com/breautek/storm/blob/3748147/src/Query.ts#L56)
|
package/docs/classes/Request.md
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
#### Defined in
|
|
58
58
|
|
|
59
|
-
[src/Request.ts:42](https://github.com/breautek/storm/blob/
|
|
59
|
+
[src/Request.ts:42](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L42)
|
|
60
60
|
|
|
61
61
|
## Methods
|
|
62
62
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
#### Defined in
|
|
72
72
|
|
|
73
|
-
[src/Request.ts:132](https://github.com/breautek/storm/blob/
|
|
73
|
+
[src/Request.ts:132](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L132)
|
|
74
74
|
|
|
75
75
|
___
|
|
76
76
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/Request.ts:46](https://github.com/breautek/storm/blob/
|
|
87
|
+
[src/Request.ts:46](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L46)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -98,7 +98,7 @@ ___
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[src/Request.ts:50](https://github.com/breautek/storm/blob/
|
|
101
|
+
[src/Request.ts:50](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L50)
|
|
102
102
|
|
|
103
103
|
___
|
|
104
104
|
|
|
@@ -112,7 +112,7 @@ ___
|
|
|
112
112
|
|
|
113
113
|
#### Defined in
|
|
114
114
|
|
|
115
|
-
[src/Request.ts:100](https://github.com/breautek/storm/blob/
|
|
115
|
+
[src/Request.ts:100](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L100)
|
|
116
116
|
|
|
117
117
|
___
|
|
118
118
|
|
|
@@ -132,7 +132,7 @@ ___
|
|
|
132
132
|
|
|
133
133
|
#### Defined in
|
|
134
134
|
|
|
135
|
-
[src/Request.ts:74](https://github.com/breautek/storm/blob/
|
|
135
|
+
[src/Request.ts:74](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L74)
|
|
136
136
|
|
|
137
137
|
___
|
|
138
138
|
|
|
@@ -146,7 +146,7 @@ ___
|
|
|
146
146
|
|
|
147
147
|
#### Defined in
|
|
148
148
|
|
|
149
|
-
[src/Request.ts:70](https://github.com/breautek/storm/blob/
|
|
149
|
+
[src/Request.ts:70](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L70)
|
|
150
150
|
|
|
151
151
|
___
|
|
152
152
|
|
|
@@ -160,7 +160,7 @@ ___
|
|
|
160
160
|
|
|
161
161
|
#### Defined in
|
|
162
162
|
|
|
163
|
-
[src/Request.ts:104](https://github.com/breautek/storm/blob/
|
|
163
|
+
[src/Request.ts:104](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L104)
|
|
164
164
|
|
|
165
165
|
___
|
|
166
166
|
|
|
@@ -174,7 +174,7 @@ ___
|
|
|
174
174
|
|
|
175
175
|
#### Defined in
|
|
176
176
|
|
|
177
|
-
[src/Request.ts:96](https://github.com/breautek/storm/blob/
|
|
177
|
+
[src/Request.ts:96](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L96)
|
|
178
178
|
|
|
179
179
|
___
|
|
180
180
|
|
|
@@ -188,7 +188,7 @@ ___
|
|
|
188
188
|
|
|
189
189
|
#### Defined in
|
|
190
190
|
|
|
191
|
-
[src/Request.ts:108](https://github.com/breautek/storm/blob/
|
|
191
|
+
[src/Request.ts:108](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L108)
|
|
192
192
|
|
|
193
193
|
___
|
|
194
194
|
|
|
@@ -208,7 +208,7 @@ ___
|
|
|
208
208
|
|
|
209
209
|
#### Defined in
|
|
210
210
|
|
|
211
|
-
[src/Request.ts:92](https://github.com/breautek/storm/blob/
|
|
211
|
+
[src/Request.ts:92](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L92)
|
|
212
212
|
|
|
213
213
|
___
|
|
214
214
|
|
|
@@ -222,7 +222,7 @@ ___
|
|
|
222
222
|
|
|
223
223
|
#### Defined in
|
|
224
224
|
|
|
225
|
-
[src/Request.ts:88](https://github.com/breautek/storm/blob/
|
|
225
|
+
[src/Request.ts:88](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L88)
|
|
226
226
|
|
|
227
227
|
___
|
|
228
228
|
|
|
@@ -236,7 +236,7 @@ ___
|
|
|
236
236
|
|
|
237
237
|
#### Defined in
|
|
238
238
|
|
|
239
|
-
[src/Request.ts:84](https://github.com/breautek/storm/blob/
|
|
239
|
+
[src/Request.ts:84](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L84)
|
|
240
240
|
|
|
241
241
|
___
|
|
242
242
|
|
|
@@ -250,7 +250,7 @@ ___
|
|
|
250
250
|
|
|
251
251
|
#### Defined in
|
|
252
252
|
|
|
253
|
-
[src/Request.ts:128](https://github.com/breautek/storm/blob/
|
|
253
|
+
[src/Request.ts:128](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L128)
|
|
254
254
|
|
|
255
255
|
___
|
|
256
256
|
|
|
@@ -264,7 +264,7 @@ ___
|
|
|
264
264
|
|
|
265
265
|
#### Defined in
|
|
266
266
|
|
|
267
|
-
[src/Request.ts:112](https://github.com/breautek/storm/blob/
|
|
267
|
+
[src/Request.ts:112](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L112)
|
|
268
268
|
|
|
269
269
|
___
|
|
270
270
|
|
|
@@ -278,7 +278,7 @@ ___
|
|
|
278
278
|
|
|
279
279
|
#### Defined in
|
|
280
280
|
|
|
281
|
-
[src/Request.ts:116](https://github.com/breautek/storm/blob/
|
|
281
|
+
[src/Request.ts:116](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L116)
|
|
282
282
|
|
|
283
283
|
___
|
|
284
284
|
|
|
@@ -298,7 +298,7 @@ ___
|
|
|
298
298
|
|
|
299
299
|
#### Defined in
|
|
300
300
|
|
|
301
|
-
[src/Request.ts:120](https://github.com/breautek/storm/blob/
|
|
301
|
+
[src/Request.ts:120](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L120)
|
|
302
302
|
|
|
303
303
|
___
|
|
304
304
|
|
|
@@ -318,4 +318,4 @@ ___
|
|
|
318
318
|
|
|
319
319
|
#### Defined in
|
|
320
320
|
|
|
321
|
-
[src/Request.ts:124](https://github.com/breautek/storm/blob/
|
|
321
|
+
[src/Request.ts:124](https://github.com/breautek/storm/blob/3748147/src/Request.ts#L124)
|
package/docs/classes/Response.md
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
#### Defined in
|
|
52
52
|
|
|
53
|
-
[src/Response.ts:38](https://github.com/breautek/storm/blob/
|
|
53
|
+
[src/Response.ts:38](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L38)
|
|
54
54
|
|
|
55
55
|
## Methods
|
|
56
56
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
#### Defined in
|
|
72
72
|
|
|
73
|
-
[src/Response.ts:131](https://github.com/breautek/storm/blob/
|
|
73
|
+
[src/Response.ts:131](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L131)
|
|
74
74
|
|
|
75
75
|
___
|
|
76
76
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/Response.ts:49](https://github.com/breautek/storm/blob/
|
|
87
|
+
[src/Response.ts:49](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L49)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -98,7 +98,7 @@ ___
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[src/Response.ts:127](https://github.com/breautek/storm/blob/
|
|
101
|
+
[src/Response.ts:127](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L127)
|
|
102
102
|
|
|
103
103
|
___
|
|
104
104
|
|
|
@@ -118,7 +118,7 @@ ___
|
|
|
118
118
|
|
|
119
119
|
#### Defined in
|
|
120
120
|
|
|
121
|
-
[src/Response.ts:100](https://github.com/breautek/storm/blob/
|
|
121
|
+
[src/Response.ts:100](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L100)
|
|
122
122
|
|
|
123
123
|
___
|
|
124
124
|
|
|
@@ -138,7 +138,7 @@ ___
|
|
|
138
138
|
|
|
139
139
|
#### Defined in
|
|
140
140
|
|
|
141
|
-
[src/Response.ts:53](https://github.com/breautek/storm/blob/
|
|
141
|
+
[src/Response.ts:53](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L53)
|
|
142
142
|
|
|
143
143
|
___
|
|
144
144
|
|
|
@@ -158,7 +158,7 @@ ___
|
|
|
158
158
|
|
|
159
159
|
#### Defined in
|
|
160
160
|
|
|
161
|
-
[src/Response.ts:95](https://github.com/breautek/storm/blob/
|
|
161
|
+
[src/Response.ts:95](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L95)
|
|
162
162
|
|
|
163
163
|
___
|
|
164
164
|
|
|
@@ -179,7 +179,7 @@ ___
|
|
|
179
179
|
|
|
180
180
|
#### Defined in
|
|
181
181
|
|
|
182
|
-
[src/Response.ts:119](https://github.com/breautek/storm/blob/
|
|
182
|
+
[src/Response.ts:119](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L119)
|
|
183
183
|
|
|
184
184
|
___
|
|
185
185
|
|
|
@@ -199,7 +199,7 @@ ___
|
|
|
199
199
|
|
|
200
200
|
#### Defined in
|
|
201
201
|
|
|
202
|
-
[src/Response.ts:123](https://github.com/breautek/storm/blob/
|
|
202
|
+
[src/Response.ts:123](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L123)
|
|
203
203
|
|
|
204
204
|
___
|
|
205
205
|
|
|
@@ -219,7 +219,7 @@ ___
|
|
|
219
219
|
|
|
220
220
|
#### Defined in
|
|
221
221
|
|
|
222
|
-
[src/Response.ts:44](https://github.com/breautek/storm/blob/
|
|
222
|
+
[src/Response.ts:44](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L44)
|
|
223
223
|
|
|
224
224
|
___
|
|
225
225
|
|
|
@@ -239,4 +239,4 @@ ___
|
|
|
239
239
|
|
|
240
240
|
#### Defined in
|
|
241
241
|
|
|
242
|
-
[src/Response.ts:108](https://github.com/breautek/storm/blob/
|
|
242
|
+
[src/Response.ts:108](https://github.com/breautek/storm/blob/3748147/src/Response.ts#L108)
|