@breautek/storm 9.8.0 → 9.9.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 +14 -0
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Application.html +67 -55
- package/docs/classes/ConfigLoader.html +4 -4
- package/docs/classes/Database.html +14 -14
- package/docs/classes/DatabaseCastObject.html +5 -5
- package/docs/classes/DatabaseConnection.html +26 -26
- package/docs/classes/DatabaseQueryError.html +16 -16
- package/docs/classes/DeadLockError.html +16 -16
- package/docs/classes/DiskSpaceError.html +15 -15
- package/docs/classes/DropTemporaryTableQuery.html +11 -11
- package/docs/classes/DuplicateEntryError.html +15 -15
- package/docs/classes/EntityNotFoundError.html +15 -15
- package/docs/classes/ExpiredTokenError.html +15 -15
- package/docs/classes/ForbiddenError.html +15 -15
- package/docs/classes/GetMySQLVersion.html +11 -11
- package/docs/classes/Handler.html +16 -16
- package/docs/classes/IllegalStateError.html +15 -15
- package/docs/classes/InternalError.html +15 -15
- package/docs/classes/InvalidCredentialsError.html +15 -15
- package/docs/classes/InvalidValueError.html +15 -15
- package/docs/classes/LineString.html +6 -6
- package/docs/classes/LockWaitTimeoutError.html +16 -16
- package/docs/classes/ManagedDatabaseConnection.html +25 -25
- package/docs/classes/MetricStore.html +7 -7
- package/docs/classes/Middleware.html +5 -5
- package/docs/classes/MissingConfigError.html +15 -15
- package/docs/classes/MissingParameterError.html +15 -15
- package/docs/classes/MySQLConnection.html +29 -29
- package/docs/classes/MySQLDatabase.html +15 -15
- package/docs/classes/NotImplementedError.html +15 -15
- package/docs/classes/Point.html +6 -6
- package/docs/classes/Polygon.html +6 -6
- package/docs/classes/Query.html +11 -11
- package/docs/classes/RawError.html +15 -15
- package/docs/classes/RawQuery.html +11 -11
- package/docs/classes/Request.html +26 -26
- package/docs/classes/Response.html +12 -12
- package/docs/classes/ResponseData.html +9 -9
- package/docs/classes/ServiceProvider.html +16 -16
- package/docs/classes/ServiceResponse.html +6 -6
- package/docs/classes/SetSessionVariableQuery.html +11 -11
- package/docs/classes/StormError.html +15 -15
- package/docs/classes/TemporaryTableQuery.html +11 -11
- package/docs/classes/TimeoutError.html +15 -15
- package/docs/classes/Token.html +3 -3
- package/docs/classes/TokenManager.html +6 -6
- package/docs/classes/Transaction.html +8 -8
- package/docs/classes/UnauthorizedAccessError.html +15 -15
- package/docs/enums/ErrorCode.html +10 -10
- package/docs/enums/ExitCode.html +3 -3
- package/docs/enums/HTTPMethod.html +5 -5
- package/docs/enums/IsolationLevel.html +5 -5
- package/docs/enums/JWTError.html +3 -3
- package/docs/enums/StatusCode.html +49 -49
- package/docs/enums/TransactionAccessLevel.html +3 -3
- package/docs/functions/getInstance.html +1 -1
- package/docs/hierarchy.html +39 -39
- package/docs/interfaces/IAdditionalErrorDetails.html +1 -1
- package/docs/interfaces/ICloudwatchConfig.html +4 -4
- package/docs/interfaces/ICloudwatchCredentials.html +3 -3
- package/docs/interfaces/ICloudwatchStreamConfig.html +3 -3
- package/docs/interfaces/IConfig.html +13 -13
- package/docs/interfaces/IDatabaseConfig.html +7 -7
- package/docs/interfaces/IDatabaseConnection.html +20 -20
- package/docs/interfaces/IDatabasePosition.html +3 -3
- package/docs/interfaces/IErrorResponse.html +6 -6
- package/docs/interfaces/IFormData.html +3 -3
- package/docs/interfaces/IGetMySQLVersionResult.html +5 -5
- package/docs/interfaces/IGetMySQLVersionRow.html +2 -2
- package/docs/interfaces/IHistogramConfig.html +6 -6
- package/docs/interfaces/IInsertQueryResult.html +4 -4
- package/docs/interfaces/IJWTVerifyOptions.html +2 -2
- package/docs/interfaces/IMetricConfig.html +5 -5
- package/docs/interfaces/IMetricCounter.html +3 -3
- package/docs/interfaces/IMetricGauge.html +7 -7
- package/docs/interfaces/IMetricHistogram.html +4 -4
- package/docs/interfaces/IOKPacket.html +9 -9
- package/docs/interfaces/IParameterMap.html +1 -1
- package/docs/interfaces/IQueryable.html +7 -7
- package/docs/interfaces/IRequestResponse.html +3 -3
- package/docs/interfaces/ISetSessionVariableQueryInput.html +3 -3
- package/docs/interfaces/IStormCLIArgs.html +8 -8
- package/docs/interfaces/ITemporaryTableQueryInput.html +3 -3
- package/docs/interfaces/IUpdateQueryResult.html +3 -3
- package/docs/interfaces/formidable.FileJSON.html +1 -1
- package/docs/interfaces/formidable.Part.html +18 -18
- package/docs/types/IDeleteQueryResult.html +1 -1
- package/docs/types/IStoredProcedureResult.html +1 -1
- package/docs/types/TCoordinate.html +1 -1
- package/docs/types/TExpiresIn.html +1 -1
- package/docs/types/TSerializableResponse.html +1 -1
- package/docs/types/TSupportedResponsePrimitives.html +1 -1
- package/docs/types/TSupportedResponseTypes.html +1 -1
- package/lib/Application.d.ts +4 -0
- package/lib/Application.js +5 -1
- package/lib/Application.js.map +1 -1
- package/lib/Response.js +12 -1
- package/lib/Response.js.map +1 -1
- package/package.json +6 -6
- package/pnpm-workspace.yaml +1 -0
- package/src/Application.ts +6 -1
- package/src/Response.ts +14 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<ul class="tsd-type-parameter-list">
|
|
16
16
|
<li><span id="tconfig"><span class="tsd-kind-type-parameter">TConfig</span> <span class="tsd-signature-keyword">extends</span> <a href="../interfaces/IConfig.html" class="tsd-signature-type tsd-kind-interface">IConfig</a> = <a href="../interfaces/IConfig.html" class="tsd-signature-type tsd-kind-interface">IConfig</a></span></li></ul></section><aside class="tsd-sources">
|
|
17
17
|
<ul>
|
|
18
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
18
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/ConfigLoader.ts#L32">src/ConfigLoader.ts:32</a></li></ul></aside>
|
|
19
19
|
<section class="tsd-panel-group tsd-index-group">
|
|
20
20
|
<section class="tsd-panel tsd-index-panel">
|
|
21
21
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
<li><span><span class="tsd-kind-parameter">app</span>: <a href="Application.html" class="tsd-signature-type tsd-kind-class">Application</a></span></li></ul></div>
|
|
50
50
|
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">ConfigLoader</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#tconfig">TConfig</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
51
51
|
<ul>
|
|
52
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
52
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/ConfigLoader.ts#L36">src/ConfigLoader.ts:36</a></li></ul></aside></div></li></ul></section></section></details>
|
|
53
53
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
54
54
|
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
55
55
|
<section>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<li><span><span class="tsd-kind-parameter">localConfigFile</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
67
67
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#tconfig">TConfig</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
68
68
|
<ul>
|
|
69
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
69
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/ConfigLoader.ts#L41">src/ConfigLoader.ts:41</a></li></ul></aside></div></li></ul></section>
|
|
70
70
|
<section class="tsd-panel tsd-member">
|
|
71
71
|
<h3 class="tsd-anchor-link" id="load-2"><code class="tsd-tag">Static</code><span class="deprecated">load</span><a href="#load-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
72
72
|
<ul class="tsd-signatures">
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<h4 class="tsd-anchor-link" id="deprecated">Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Instantiate ConfigLoader with the proper params</p>
|
|
84
84
|
</div></div><aside class="tsd-sources">
|
|
85
85
|
<ul>
|
|
86
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
86
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/ConfigLoader.ts#L97">src/ConfigLoader.ts:97</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
87
87
|
<div class="col-sidebar">
|
|
88
88
|
<div class="page-menu">
|
|
89
89
|
<div class="tsd-navigation settings">
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
<ul class="tsd-type-parameter-list">
|
|
16
16
|
<li><span id="tdatabaseconfig"><span class="tsd-kind-type-parameter">TDatabaseConfig</span></span></li>
|
|
17
17
|
<li><span id="tconnectionapi"><span class="tsd-kind-type-parameter">TConnectionAPI</span></span></li></ul></section>
|
|
18
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
18
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="278">
|
|
19
19
|
<h4>Hierarchy (<a href="../hierarchy.html#Database">View Summary</a>)</h4>
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Database</span>
|
|
22
22
|
<ul class="tsd-hierarchy">
|
|
23
23
|
<li class="tsd-hierarchy-item"><a href="MySQLDatabase.html" class="tsd-signature-type tsd-kind-class">MySQLDatabase</a></li></ul></li></ul></section><aside class="tsd-sources">
|
|
24
24
|
<ul>
|
|
25
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
25
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L25">src/Database.ts:25</a></li></ul></aside>
|
|
26
26
|
<section class="tsd-panel-group tsd-index-group">
|
|
27
27
|
<section class="tsd-panel tsd-index-panel">
|
|
28
28
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<li><span id="constructordatabasetconnectionapi"><span class="tsd-kind-type-parameter">TConnectionAPI</span></span></li></ul></section>
|
|
63
63
|
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Database</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#tdatabaseconfig">TDatabaseConfig</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#tconnectionapi">TConnectionAPI</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
64
64
|
<ul>
|
|
65
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
65
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L28">src/Database.ts:28</a></li></ul></aside></div></li></ul></section></section></details>
|
|
66
66
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
67
67
|
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
68
68
|
<section>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<li><span><span class="tsd-kind-parameter">config</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#tdatabaseconfig">TDatabaseConfig</a></span></li></ul></div>
|
|
80
80
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L83">src/Database.ts:83</a></li></ul></aside></div></li></ul></section>
|
|
83
83
|
<section class="tsd-panel tsd-member tsd-is-protected">
|
|
84
84
|
<h3 class="tsd-anchor-link" id="_destroy"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Abstract</code><span>_<wbr/>destroy</span><a href="#_destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
85
85
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
<div class="tsd-description">
|
|
89
89
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
90
90
|
<ul>
|
|
91
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
91
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L82">src/Database.ts:82</a></li></ul></aside></div></li></ul></section>
|
|
92
92
|
<section class="tsd-panel tsd-member tsd-is-protected">
|
|
93
93
|
<h3 class="tsd-anchor-link" id="_getconnection"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Abstract</code><span>_<wbr/>get<wbr/>Connection</span><a href="#_getconnection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
94
94
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">requiredPosition</span>: <a href="../interfaces/IDatabasePosition.html" class="tsd-signature-type tsd-kind-interface">IDatabasePosition</a></span></li></ul></div>
|
|
104
104
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="DatabaseConnection.html" class="tsd-signature-type tsd-kind-class">DatabaseConnection</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#tconnectionapi">TConnectionAPI</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
105
105
|
<ul>
|
|
106
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
106
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L85">src/Database.ts:85</a></li></ul></aside></div></li></ul></section>
|
|
107
107
|
<section class="tsd-panel tsd-member tsd-is-protected">
|
|
108
108
|
<h3 class="tsd-anchor-link" id="_removenode"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Abstract</code><span>_<wbr/>remove<wbr/>Node</span><a href="#_removenode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
109
109
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
117
117
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
118
118
|
<ul>
|
|
119
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
119
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L84">src/Database.ts:84</a></li></ul></aside></div></li></ul></section>
|
|
120
120
|
<section class="tsd-panel tsd-member">
|
|
121
121
|
<h3 class="tsd-anchor-link" id="addmaster"><span>add<wbr/>Master</span><a href="#addmaster" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
122
122
|
<ul class="tsd-signatures">
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
<li><span><span class="tsd-kind-parameter">config</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#tdatabaseconfig">TDatabaseConfig</a></span></li></ul></div>
|
|
130
130
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
131
131
|
<ul>
|
|
132
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
132
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L32">src/Database.ts:32</a></li></ul></aside></div></li></ul></section>
|
|
133
133
|
<section class="tsd-panel tsd-member">
|
|
134
134
|
<h3 class="tsd-anchor-link" id="addslave"><span>add<wbr/>Slave</span><a href="#addslave" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
135
135
|
<ul class="tsd-signatures">
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
<li><span><span class="tsd-kind-parameter">config</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#tdatabaseconfig">TDatabaseConfig</a></span></li></ul></div>
|
|
144
144
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
145
145
|
<ul>
|
|
146
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
146
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L46">src/Database.ts:46</a></li></ul></aside></div></li></ul></section>
|
|
147
147
|
<section class="tsd-panel tsd-member">
|
|
148
148
|
<h3 class="tsd-anchor-link" id="destroy"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
149
149
|
<ul class="tsd-signatures">
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
<div class="tsd-description">
|
|
153
153
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
154
154
|
<ul>
|
|
155
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
155
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L78">src/Database.ts:78</a></li></ul></aside></div></li></ul></section>
|
|
156
156
|
<section class="tsd-panel tsd-member">
|
|
157
157
|
<h3 class="tsd-anchor-link" id="escape"><code class="tsd-tag">Abstract</code><span>escape</span><a href="#escape" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
158
158
|
<ul class="tsd-signatures">
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
<li><span><span class="tsd-kind-parameter">query</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
166
166
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
167
167
|
<ul>
|
|
168
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
168
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L86">src/Database.ts:86</a></li></ul></aside></div></li></ul></section>
|
|
169
169
|
<section class="tsd-panel tsd-member">
|
|
170
170
|
<h3 class="tsd-anchor-link" id="getconnection"><span>get<wbr/>Connection</span><a href="#getconnection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
171
171
|
<ul class="tsd-signatures">
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">requiredPosition</span>: <a href="../interfaces/IDatabasePosition.html" class="tsd-signature-type tsd-kind-interface">IDatabasePosition</a></span></li></ul></div>
|
|
181
181
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="DatabaseConnection.html" class="tsd-signature-type tsd-kind-class">DatabaseConnection</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#tconnectionapi">TConnectionAPI</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
182
182
|
<ul>
|
|
183
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
183
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L65">src/Database.ts:65</a></li></ul></aside></div></li></ul></section>
|
|
184
184
|
<section class="tsd-panel tsd-member">
|
|
185
185
|
<h3 class="tsd-anchor-link" id="removemaster"><span>remove<wbr/>Master</span><a href="#removemaster" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
186
186
|
<ul class="tsd-signatures">
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
<div class="tsd-description">
|
|
190
190
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
191
191
|
<ul>
|
|
192
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
192
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L41">src/Database.ts:41</a></li></ul></aside></div></li></ul></section>
|
|
193
193
|
<section class="tsd-panel tsd-member">
|
|
194
194
|
<h3 class="tsd-anchor-link" id="removeslave"><span>remove<wbr/>Slave</span><a href="#removeslave" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
195
195
|
<ul class="tsd-signatures">
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
<li><span><span class="tsd-kind-parameter">slaveID</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
203
203
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
204
204
|
<ul>
|
|
205
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
205
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/Database.ts#L55">src/Database.ts:55</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
206
206
|
<div class="col-sidebar">
|
|
207
207
|
<div class="page-menu">
|
|
208
208
|
<div class="tsd-navigation settings">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
11
|
<li><a href="" aria-current="page">DatabaseCastObject</a></li></ul>
|
|
12
12
|
<h1>Class DatabaseCastObject<code class="tsd-tag">Abstract</code></h1></div>
|
|
13
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
13
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="2182">
|
|
14
14
|
<h4>Hierarchy (<a href="../hierarchy.html#DatabaseCastObject">View Summary</a>)</h4>
|
|
15
15
|
<ul class="tsd-hierarchy">
|
|
16
16
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">DatabaseCastObject</span>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<li class="tsd-hierarchy-item"><a href="LineString.html" class="tsd-signature-type tsd-kind-class">LineString</a></li>
|
|
20
20
|
<li class="tsd-hierarchy-item"><a href="Polygon.html" class="tsd-signature-type tsd-kind-class">Polygon</a></li></ul></li></ul></section><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseCastObject.ts#L19">src/DatabaseCastObject.ts:19</a></li></ul></aside>
|
|
23
23
|
<section class="tsd-panel-group tsd-index-group">
|
|
24
24
|
<section class="tsd-panel tsd-index-panel">
|
|
25
25
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<div class="tsd-description">
|
|
57
57
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
58
58
|
<ul>
|
|
59
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
59
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseCastObject.ts#L28">src/DatabaseCastObject.ts:28</a></li></ul></aside></div></li></ul></section>
|
|
60
60
|
<section class="tsd-panel tsd-member">
|
|
61
61
|
<h3 class="tsd-anchor-link" id="escape"><span>escape</span><a href="#escape" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
62
62
|
<ul class="tsd-signatures">
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span></li></ul></div>
|
|
70
70
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
71
71
|
<ul>
|
|
72
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
72
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseCastObject.ts#L24">src/DatabaseCastObject.ts:24</a></li></ul></aside></div></li></ul></section>
|
|
73
73
|
<section class="tsd-panel tsd-member">
|
|
74
74
|
<h3 class="tsd-anchor-link" id="tosqlstring"><span>to<wbr/>Sql<wbr/>String</span><a href="#tosqlstring" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
75
75
|
<ul class="tsd-signatures">
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<div class="tsd-description">
|
|
79
79
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
80
80
|
<ul>
|
|
81
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
81
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseCastObject.ts#L20">src/DatabaseCastObject.ts:20</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
82
82
|
<div class="col-sidebar">
|
|
83
83
|
<div class="page-menu">
|
|
84
84
|
<div class="tsd-navigation settings">
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<h4>Type Parameters</h4>
|
|
22
22
|
<ul class="tsd-type-parameter-list">
|
|
23
23
|
<li><span id="tapi"><span class="tsd-kind-type-parameter">TAPI</span></span></li></ul></section>
|
|
24
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
24
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="322">
|
|
25
25
|
<h4>Hierarchy (<a href="../hierarchy.html#DatabaseConnection">View Summary</a>)</h4>
|
|
26
26
|
<ul class="tsd-hierarchy">
|
|
27
27
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">DatabaseConnection</span>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<ul class="tsd-hierarchy">
|
|
33
33
|
<li><a href="../interfaces/IDatabaseConnection.html" class="tsd-signature-type tsd-kind-interface">IDatabaseConnection</a></li></ul></section><aside class="tsd-sources">
|
|
34
34
|
<ul>
|
|
35
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
35
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L39">src/DatabaseConnection.ts:39</a></li></ul></aside>
|
|
36
36
|
<section class="tsd-panel-group tsd-index-group">
|
|
37
37
|
<section class="tsd-panel tsd-index-panel">
|
|
38
38
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
<li><span><span class="tsd-kind-parameter">instantiationStack</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
90
90
|
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">DatabaseConnection</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#tapi">TAPI</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
91
91
|
<ul>
|
|
92
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
92
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L49">src/DatabaseConnection.ts:49</a></li></ul></aside></div></li></ul></section></section></details>
|
|
93
93
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
94
94
|
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
95
95
|
<section>
|
|
@@ -114,7 +114,7 @@ Silently error if it means the connection is closed.</p>
|
|
|
114
114
|
<div class="tsd-tag-async">
|
|
115
115
|
<h4 class="tsd-anchor-link" id="async">Async<a href="#async" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
116
116
|
<ul>
|
|
117
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
117
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L279">src/DatabaseConnection.ts:279</a></li></ul></aside></div></li></ul></section>
|
|
118
118
|
<section class="tsd-panel tsd-member tsd-is-protected">
|
|
119
119
|
<h3 class="tsd-anchor-link" id="_query"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Abstract</code><span>_<wbr/>query</span><a href="#_query" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
120
120
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -142,7 +142,7 @@ Silently error if it means the connection is closed.</p>
|
|
|
142
142
|
<div class="tsd-tag-async">
|
|
143
143
|
<h4 class="tsd-anchor-link" id="async-1">Async<a href="#async-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
144
144
|
<ul>
|
|
145
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
145
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L289">src/DatabaseConnection.ts:289</a></li></ul></aside></div></li></ul></section>
|
|
146
146
|
<section class="tsd-panel tsd-member tsd-is-protected">
|
|
147
147
|
<h3 class="tsd-anchor-link" id="_stream"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Abstract</code><span>_<wbr/>stream</span><a href="#_stream" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
148
148
|
<ul class="tsd-signatures tsd-is-protected">
|
|
@@ -167,7 +167,7 @@ but returns a <code>Readable</code> stream instead.</p>
|
|
|
167
167
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Readable</span></h4><p><code>Readable</code></p>
|
|
168
168
|
<aside class="tsd-sources">
|
|
169
169
|
<ul>
|
|
170
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
170
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L300">src/DatabaseConnection.ts:300</a></li></ul></aside></div></li></ul></section>
|
|
171
171
|
<section class="tsd-panel tsd-member">
|
|
172
172
|
<h3 class="tsd-anchor-link" id="close"><span>close</span><a href="#close" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
173
173
|
<ul class="tsd-signatures">
|
|
@@ -191,7 +191,7 @@ of transaction state.</p>
|
|
|
191
191
|
<h4 class="tsd-anchor-link" id="async-2">Async<a href="#async-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
192
192
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#close">close</a></p>
|
|
193
193
|
<ul>
|
|
194
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
194
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L208">src/DatabaseConnection.ts:208</a></li></ul></aside></div></li></ul></section>
|
|
195
195
|
<section class="tsd-panel tsd-member">
|
|
196
196
|
<h3 class="tsd-anchor-link" id="commit"><code class="tsd-tag">Abstract</code><span>commit</span><a href="#commit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
197
197
|
<ul class="tsd-signatures">
|
|
@@ -207,7 +207,7 @@ of transaction state.</p>
|
|
|
207
207
|
<h4 class="tsd-anchor-link" id="async-3">Async<a href="#async-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
208
208
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#commit">commit</a></p>
|
|
209
209
|
<ul>
|
|
210
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
210
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L260">src/DatabaseConnection.ts:260</a></li></ul></aside></div></li></ul></section>
|
|
211
211
|
<section class="tsd-panel tsd-member">
|
|
212
212
|
<h3 class="tsd-anchor-link" id="endtransaction"><code class="tsd-tag">Abstract</code><span>end<wbr/>Transaction</span><a href="#endtransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
213
213
|
<ul class="tsd-signatures">
|
|
@@ -228,7 +228,7 @@ of transaction state.</p>
|
|
|
228
228
|
<div class="tsd-tag-async">
|
|
229
229
|
<h4 class="tsd-anchor-link" id="async-4">Async<a href="#async-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
230
230
|
<ul>
|
|
231
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
231
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L251">src/DatabaseConnection.ts:251</a></li></ul></aside></div></li></ul></section>
|
|
232
232
|
<section class="tsd-panel tsd-member">
|
|
233
233
|
<h3 class="tsd-anchor-link" id="formatquery"><code class="tsd-tag">Abstract</code><span>format<wbr/>Query</span><a href="#formatquery" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
234
234
|
<ul class="tsd-signatures">
|
|
@@ -247,7 +247,7 @@ of transaction state.</p>
|
|
|
247
247
|
</div></div><aside class="tsd-sources">
|
|
248
248
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#formatquery">formatQuery</a></p>
|
|
249
249
|
<ul>
|
|
250
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
250
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L117">src/DatabaseConnection.ts:117</a></li></ul></aside></div></li></ul></section>
|
|
251
251
|
<section class="tsd-panel tsd-member">
|
|
252
252
|
<h3 class="tsd-anchor-link" id="getapi"><span>get<wbr/>API</span><a href="#getapi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
253
253
|
<ul class="tsd-signatures">
|
|
@@ -260,7 +260,7 @@ of transaction state.</p>
|
|
|
260
260
|
<aside class="tsd-sources">
|
|
261
261
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#getapi">getAPI</a></p>
|
|
262
262
|
<ul>
|
|
263
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
263
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L113">src/DatabaseConnection.ts:113</a></li></ul></aside></div></li></ul></section>
|
|
264
264
|
<section class="tsd-panel tsd-member">
|
|
265
265
|
<h3 class="tsd-anchor-link" id="getcurrentdatabaseposition"><code class="tsd-tag">Abstract</code><span>get<wbr/>Current<wbr/>Database<wbr/>Position</span><a href="#getcurrentdatabaseposition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
266
266
|
<ul class="tsd-signatures">
|
|
@@ -274,7 +274,7 @@ of transaction state.</p>
|
|
|
274
274
|
</div></div><aside class="tsd-sources">
|
|
275
275
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#getcurrentdatabaseposition">getCurrentDatabasePosition</a></p>
|
|
276
276
|
<ul>
|
|
277
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
277
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L305">src/DatabaseConnection.ts:305</a></li></ul></aside></div></li></ul></section>
|
|
278
278
|
<section class="tsd-panel tsd-member">
|
|
279
279
|
<h3 class="tsd-anchor-link" id="getinstantiationstack"><span>get<wbr/>Instantiation<wbr/>Stack</span><a href="#getinstantiationstack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
280
280
|
<ul class="tsd-signatures">
|
|
@@ -288,7 +288,7 @@ this connection. Useful for debugging lingering connections.</p>
|
|
|
288
288
|
<aside class="tsd-sources">
|
|
289
289
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#getinstantiationstack">getInstantiationStack</a></p>
|
|
290
290
|
<ul>
|
|
291
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
291
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L86">src/DatabaseConnection.ts:86</a></li></ul></aside></div></li></ul></section>
|
|
292
292
|
<section class="tsd-panel tsd-member">
|
|
293
293
|
<h3 class="tsd-anchor-link" id="gettimeout"><span>get<wbr/>Timeout</span><a href="#gettimeout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
294
294
|
<ul class="tsd-signatures">
|
|
@@ -301,7 +301,7 @@ this connection. Useful for debugging lingering connections.</p>
|
|
|
301
301
|
<aside class="tsd-sources">
|
|
302
302
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#gettimeout">getTimeout</a></p>
|
|
303
303
|
<ul>
|
|
304
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
304
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L145">src/DatabaseConnection.ts:145</a></li></ul></aside></div></li></ul></section>
|
|
305
305
|
<section class="tsd-panel tsd-member">
|
|
306
306
|
<h3 class="tsd-anchor-link" id="hasreplicationenabled"><code class="tsd-tag">Abstract</code><span>has<wbr/>Replication<wbr/>Enabled</span><a href="#hasreplicationenabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
307
307
|
<ul class="tsd-signatures">
|
|
@@ -311,7 +311,7 @@ this connection. Useful for debugging lingering connections.</p>
|
|
|
311
311
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
312
312
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#hasreplicationenabled">hasReplicationEnabled</a></p>
|
|
313
313
|
<ul>
|
|
314
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
314
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L70">src/DatabaseConnection.ts:70</a></li></ul></aside></div></li></ul></section>
|
|
315
315
|
<section class="tsd-panel tsd-member">
|
|
316
316
|
<h3 class="tsd-anchor-link" id="isclosed"><span>is<wbr/>Closed</span><a href="#isclosed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
317
317
|
<ul class="tsd-signatures">
|
|
@@ -323,7 +323,7 @@ this connection. Useful for debugging lingering connections.</p>
|
|
|
323
323
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
324
324
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#isclosed">isClosed</a></p>
|
|
325
325
|
<ul>
|
|
326
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
326
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L222">src/DatabaseConnection.ts:222</a></li></ul></aside></div></li></ul></section>
|
|
327
327
|
<section class="tsd-panel tsd-member">
|
|
328
328
|
<h3 class="tsd-anchor-link" id="ismaster"><code class="tsd-tag">Abstract</code><span>is<wbr/>Master</span><a href="#ismaster" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
329
329
|
<ul class="tsd-signatures">
|
|
@@ -333,7 +333,7 @@ this connection. Useful for debugging lingering connections.</p>
|
|
|
333
333
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
334
334
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#ismaster">isMaster</a></p>
|
|
335
335
|
<ul>
|
|
336
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
336
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L66">src/DatabaseConnection.ts:66</a></li></ul></aside></div></li></ul></section>
|
|
337
337
|
<section class="tsd-panel tsd-member">
|
|
338
338
|
<h3 class="tsd-anchor-link" id="isreadonly"><span>is<wbr/>Read<wbr/>Only</span><a href="#isreadonly" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
339
339
|
<ul class="tsd-signatures">
|
|
@@ -347,7 +347,7 @@ write access</p>
|
|
|
347
347
|
<aside class="tsd-sources">
|
|
348
348
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#isreadonly">isReadOnly</a></p>
|
|
349
349
|
<ul>
|
|
350
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
350
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L124">src/DatabaseConnection.ts:124</a></li></ul></aside></div></li></ul></section>
|
|
351
351
|
<section class="tsd-panel tsd-member">
|
|
352
352
|
<h3 class="tsd-anchor-link" id="isreplication"><code class="tsd-tag">Abstract</code><span>is<wbr/>Replication</span><a href="#isreplication" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
353
353
|
<ul class="tsd-signatures">
|
|
@@ -357,7 +357,7 @@ write access</p>
|
|
|
357
357
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
358
358
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#isreplication">isReplication</a></p>
|
|
359
359
|
<ul>
|
|
360
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
360
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L68">src/DatabaseConnection.ts:68</a></li></ul></aside></div></li></ul></section>
|
|
361
361
|
<section class="tsd-panel tsd-member">
|
|
362
362
|
<h3 class="tsd-anchor-link" id="istransaction"><code class="tsd-tag">Abstract</code><span>is<wbr/>Transaction</span><a href="#istransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
363
363
|
<ul class="tsd-signatures">
|
|
@@ -370,7 +370,7 @@ write access</p>
|
|
|
370
370
|
<aside class="tsd-sources">
|
|
371
371
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#istransaction">isTransaction</a></p>
|
|
372
372
|
<ul>
|
|
373
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
373
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L241">src/DatabaseConnection.ts:241</a></li></ul></aside></div></li></ul></section>
|
|
374
374
|
<section class="tsd-panel tsd-member">
|
|
375
375
|
<h3 class="tsd-anchor-link" id="query"><span>query</span><a href="#query" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
376
376
|
<ul class="tsd-signatures">
|
|
@@ -396,7 +396,7 @@ write access</p>
|
|
|
396
396
|
<h4 class="tsd-anchor-link" id="async-5">Async<a href="#async-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
397
397
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#query">query</a></p>
|
|
398
398
|
<ul>
|
|
399
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
399
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L156">src/DatabaseConnection.ts:156</a></li></ul></aside></div></li></ul></section>
|
|
400
400
|
<section class="tsd-panel tsd-member">
|
|
401
401
|
<h3 class="tsd-anchor-link" id="rollback"><code class="tsd-tag">Abstract</code><span>rollback</span><a href="#rollback" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
402
402
|
<ul class="tsd-signatures">
|
|
@@ -412,7 +412,7 @@ write access</p>
|
|
|
412
412
|
<h4 class="tsd-anchor-link" id="async-6">Async<a href="#async-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
413
413
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#rollback">rollback</a></p>
|
|
414
414
|
<ul>
|
|
415
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
415
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L269">src/DatabaseConnection.ts:269</a></li></ul></aside></div></li></ul></section>
|
|
416
416
|
<section class="tsd-panel tsd-member">
|
|
417
417
|
<h3 class="tsd-anchor-link" id="setinstantiationstack"><span>set<wbr/>Instantiation<wbr/>Stack</span><a href="#setinstantiationstack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
418
418
|
<ul class="tsd-signatures">
|
|
@@ -426,7 +426,7 @@ write access</p>
|
|
|
426
426
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
427
427
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#setinstantiationstack">setInstantiationStack</a></p>
|
|
428
428
|
<ul>
|
|
429
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
429
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L77">src/DatabaseConnection.ts:77</a></li></ul></aside></div></li></ul></section>
|
|
430
430
|
<section class="tsd-panel tsd-member">
|
|
431
431
|
<h3 class="tsd-anchor-link" id="settimeout"><span>set<wbr/>Timeout</span><a href="#settimeout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
432
432
|
<ul class="tsd-signatures">
|
|
@@ -444,7 +444,7 @@ write access</p>
|
|
|
444
444
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
445
445
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#settimeout">setTimeout</a></p>
|
|
446
446
|
<ul>
|
|
447
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
447
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L133">src/DatabaseConnection.ts:133</a></li></ul></aside></div></li></ul></section>
|
|
448
448
|
<section class="tsd-panel tsd-member">
|
|
449
449
|
<h3 class="tsd-anchor-link" id="starttransaction"><code class="tsd-tag">Abstract</code><span>start<wbr/>Transaction</span><a href="#starttransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
450
450
|
<ul class="tsd-signatures">
|
|
@@ -464,7 +464,7 @@ write access</p>
|
|
|
464
464
|
<h4 class="tsd-anchor-link" id="async-7">Async<a href="#async-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div><aside class="tsd-sources">
|
|
465
465
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#starttransaction">startTransaction</a></p>
|
|
466
466
|
<ul>
|
|
467
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
467
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L233">src/DatabaseConnection.ts:233</a></li></ul></aside></div></li></ul></section>
|
|
468
468
|
<section class="tsd-panel tsd-member">
|
|
469
469
|
<h3 class="tsd-anchor-link" id="stream"><span>stream</span><a href="#stream" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
470
470
|
<ul class="tsd-signatures">
|
|
@@ -484,7 +484,7 @@ write access</p>
|
|
|
484
484
|
<aside class="tsd-sources">
|
|
485
485
|
<p>Implementation of <a href="../interfaces/IDatabaseConnection.html">IDatabaseConnection</a>.<a href="../interfaces/IDatabaseConnection.html#stream">stream</a></p>
|
|
486
486
|
<ul>
|
|
487
|
-
<li>Defined in <a href="https://github.com/breautek/storm/blob/
|
|
487
|
+
<li>Defined in <a href="https://github.com/breautek/storm/blob/10196c25522f788ca4a5a719b85ad11af9c8de07/src/DatabaseConnection.ts#L191">src/DatabaseConnection.ts:191</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
488
488
|
<div class="col-sidebar">
|
|
489
489
|
<div class="page-menu">
|
|
490
490
|
<div class="tsd-navigation settings">
|