Skip to content

Commit aed2866

Browse files
committed
Deploying to gh-pages from @ 3685949 🚀
1 parent 8ac729c commit aed2866

File tree

9 files changed

+81
-44
lines changed

9 files changed

+81
-44
lines changed

‎dist/sql-asm-debug.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
331331
* You can't instantiate this class directly, you have to use a
332332
* {@link Database} object in order to create a statement.
333333
*
334-
* **Warning**: When you close a database (using db.close()),
335-
* all its statements are closed too and become unusable.
334+
* **Warnings**
335+
* 1. When you close a database (using db.close()), all
336+
* its statements are closed too and become unusable.
337+
* 1. After calling db.prepare() you must manually free the assigned memory
338+
* by calling Statement.free(). Failure to do this will cause subsequent
339+
* 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
340+
* is locked'.
336341
*
337342
* Statements can't be created by the API user directly, only by
338343
* Database::prepare

‎dist/sql-wasm-debug.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
331331
* You can't instantiate this class directly, you have to use a
332332
* {@link Database} object in order to create a statement.
333333
*
334-
* **Warning**: When you close a database (using db.close()),
335-
* all its statements are closed too and become unusable.
334+
* **Warnings**
335+
* 1. When you close a database (using db.close()), all
336+
* its statements are closed too and become unusable.
337+
* 1. After calling db.prepare() you must manually free the assigned memory
338+
* by calling Statement.free(). Failure to do this will cause subsequent
339+
* 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
340+
* is locked'.
336341
*
337342
* Statements can't be created by the API user directly, only by
338343
* Database::prepare

‎dist/worker.sql-asm-debug.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
331331
* You can't instantiate this class directly, you have to use a
332332
* {@link Database} object in order to create a statement.
333333
*
334-
* **Warning**: When you close a database (using db.close()),
335-
* all its statements are closed too and become unusable.
334+
* **Warnings**
335+
* 1. When you close a database (using db.close()), all
336+
* its statements are closed too and become unusable.
337+
* 1. After calling db.prepare() you must manually free the assigned memory
338+
* by calling Statement.free(). Failure to do this will cause subsequent
339+
* 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
340+
* is locked'.
336341
*
337342
* Statements can't be created by the API user directly, only by
338343
* Database::prepare

‎dist/worker.sql-wasm-debug.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
331331
* You can't instantiate this class directly, you have to use a
332332
* {@link Database} object in order to create a statement.
333333
*
334-
* **Warning**: When you close a database (using db.close()),
335-
* all its statements are closed too and become unusable.
334+
* **Warnings**
335+
* 1. When you close a database (using db.close()), all
336+
* its statements are closed too and become unusable.
337+
* 1. After calling db.prepare() you must manually free the assigned memory
338+
* by calling Statement.free(). Failure to do this will cause subsequent
339+
* 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
340+
* is locked'.
336341
*
337342
* Statements can't be created by the API user directly, only by
338343
* Database::prepare

‎documentation/Database.html‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h4 class="name" id="Database">
189189
<div class="details-item-container">
190190
<dt class="tag-source">Source:</dt>
191191
<dd class="tag-source"><ul class="dummy"><li>
192-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line783">line 783</a>
192+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line788">line 788</a>
193193
</li></ul></dd>
194194
</div>
195195

@@ -300,7 +300,7 @@ <h4 class="name" id="%5B%22close%22%5D">
300300
<div class="details-item-container">
301301
<dt class="tag-source">Source:</dt>
302302
<dd class="tag-source"><ul class="dummy"><li>
303-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1059">line 1059</a>
303+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1064">line 1064</a>
304304
</li></ul></dd>
305305
</div>
306306

@@ -462,7 +462,7 @@ <h4 class="name" id="%5B%22create_function%22%5D">
462462
<div class="details-item-container">
463463
<dt class="tag-source">Source:</dt>
464464
<dd class="tag-source"><ul class="dummy"><li>
465-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1108">line 1108</a>
465+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1113">line 1113</a>
466466
</li></ul></dd>
467467
</div>
468468

@@ -764,7 +764,7 @@ <h4 class="name" id="%5B%22each%22%5D">
764764
<div class="details-item-container">
765765
<dt class="tag-source">Source:</dt>
766766
<dd class="tag-source"><ul class="dummy"><li>
767-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line969">line 969</a>
767+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line974">line 974</a>
768768
</li></ul></dd>
769769
</div>
770770

@@ -1038,7 +1038,7 @@ <h2>Example use</h2>
10381038
<div class="details-item-container">
10391039
<dt class="tag-source">Source:</dt>
10401040
<dd class="tag-source"><ul class="dummy"><li>
1041-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line897">line 897</a>
1041+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line902">line 902</a>
10421042
</li></ul></dd>
10431043
</div>
10441044

@@ -1149,7 +1149,7 @@ <h4 class="name" id="%5B%22export%22%5D">
11491149
<div class="details-item-container">
11501150
<dt class="tag-source">Source:</dt>
11511151
<dd class="tag-source"><ul class="dummy"><li>
1152-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1036">line 1036</a>
1152+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1041">line 1041</a>
11531153
</li></ul></dd>
11541154
</div>
11551155

@@ -1263,7 +1263,7 @@ <h4 class="name" id="%5B%22getRowsModified%22%5D">
12631263
<div class="details-item-container">
12641264
<dt class="tag-source">Source:</dt>
12651265
<dd class="tag-source"><ul class="dummy"><li>
1266-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1094">line 1094</a>
1266+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1099">line 1099</a>
12671267
</li></ul></dd>
12681268
</div>
12691269

@@ -1375,7 +1375,7 @@ <h4 class="name" id="%5B%22handleError%22%5D">
13751375
<div class="details-item-container">
13761376
<dt class="tag-source">Source:</dt>
13771377
<dd class="tag-source"><ul class="dummy"><li>
1378-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1078">line 1078</a>
1378+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1083">line 1083</a>
13791379
</li></ul></dd>
13801380
</div>
13811381

@@ -1515,7 +1515,7 @@ <h4 class="name" id="%5B%22iterateStatements%22%5D">
15151515
<div class="details-item-container">
15161516
<dt class="tag-source">Source:</dt>
15171517
<dd class="tag-source"><ul class="dummy"><li>
1518-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1029">line 1029</a>
1518+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1034">line 1034</a>
15191519
</li></ul></dd>
15201520
</div>
15211521

@@ -1738,7 +1738,7 @@ <h4 class="name" id="%5B%22prepare%22%5D">
17381738
<div class="details-item-container">
17391739
<dt class="tag-source">Source:</dt>
17401740
<dd class="tag-source"><ul class="dummy"><li>
1741-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line997">line 997</a>
1741+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line1002">line 1002</a>
17421742
</li></ul></dd>
17431743
</div>
17441744

@@ -1975,7 +1975,7 @@ <h4 class="name" id="%5B%22run%22%5D">
19751975
<div class="details-item-container">
19761976
<dt class="tag-source">Source:</dt>
19771977
<dd class="tag-source"><ul class="dummy"><li>
1978-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line814">line 814</a>
1978+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line819">line 819</a>
19791979
</li></ul></dd>
19801980
</div>
19811981

@@ -2180,7 +2180,7 @@ <h5 class="subsection-title">Properties</h5>
21802180
<div class="details-item-container">
21812181
<dt class="tag-source">Source:</dt>
21822182
<dd class="tag-source"><ul class="dummy"><li>
2183-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line831">line 831</a>
2183+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line836">line 836</a>
21842184
</li></ul></dd>
21852185
</div>
21862186

@@ -2264,7 +2264,7 @@ <h4 class="name" id=".SqlValue">
22642264
<div class="details-item-container">
22652265
<dt class="tag-source">Source:</dt>
22662266
<dd class="tag-source"><ul class="dummy"><li>
2267-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line266">line 266</a>
2267+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line271">line 271</a>
22682268
</li></ul></dd>
22692269
</div>
22702270

‎documentation/Statement.html‎

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,15 @@ <h2>
7777
that you can execute multiple times with different parameters.</p>
7878
<p>You can't instantiate this class directly, you have to use a
7979
<a href="Database.html">Database</a> object in order to create a statement.</p>
80-
<p><strong>Warning</strong>: When you close a database (using db.close()),
81-
all its statements are closed too and become unusable.</p>
80+
<p><strong>Warnings</strong></p>
81+
<ol>
82+
<li>When you close a database (using db.close()), all
83+
its statements are closed too and become unusable.</li>
84+
<li>After calling db.prepare() you must manually free the assigned memory
85+
by calling Statement.free(). Failure to do this will cause subsequent
86+
'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
87+
is locked'.</li>
88+
</ol>
8289
<p>Statements can't be created by the API user directly, only by
8390
Database::prepare</p></div>
8491
<hr/>
@@ -221,7 +228,7 @@ <h4 class="name" id="Statement">
221228
<div class="details-item-container">
222229
<dt class="tag-source">Source:</dt>
223230
<dd class="tag-source"><ul class="dummy"><li>
224-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line256">line 256</a>
231+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line261">line 261</a>
225232
</li></ul></dd>
226233
</div>
227234

@@ -425,7 +432,7 @@ <h2>Value types</h2>
425432
<div class="details-item-container">
426433
<dt class="tag-source">Source:</dt>
427434
<dd class="tag-source"><ul class="dummy"><li>
428-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line310">line 310</a>
435+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line315">line 315</a>
429436
</li></ul></dd>
430437
</div>
431438

@@ -595,7 +602,7 @@ <h4 class="name" id="%5B%22free%22%5D">
595602
<div class="details-item-container">
596603
<dt class="tag-source">Source:</dt>
597604
<dd class="tag-source"><ul class="dummy"><li>
598-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line633">line 633</a>
605+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line638">line 638</a>
599606
</li></ul></dd>
600607
</div>
601608

@@ -706,7 +713,7 @@ <h4 class="name" id="%5B%22freemem%22%5D">
706713
<div class="details-item-container">
707714
<dt class="tag-source">Source:</dt>
708715
<dd class="tag-source"><ul class="dummy"><li>
709-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line623">line 623</a>
716+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line628">line 628</a>
710717
</li></ul></dd>
711718
</div>
712719

@@ -858,7 +865,7 @@ <h4 class="name" id="%5B%22get%22%5D">
858865
<div class="details-item-container">
859866
<dt class="tag-source">Source:</dt>
860867
<dd class="tag-source"><ul class="dummy"><li>
861-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line389">line 389</a>
868+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line394">line 394</a>
862869
</li></ul></dd>
863870
</div>
864871

@@ -1044,7 +1051,7 @@ <h4 class="name" id="%5B%22getAsObject%22%5D">
10441051
<div class="details-item-container">
10451052
<dt class="tag-source">Source:</dt>
10461053
<dd class="tag-source"><ul class="dummy"><li>
1047-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line449">line 449</a>
1054+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line454">line 454</a>
10481055
</li></ul></dd>
10491056
</div>
10501057

@@ -1176,7 +1183,7 @@ <h4 class="name" id="%5B%22getColumnNames%22%5D">
11761183
<div class="details-item-container">
11771184
<dt class="tag-source">Source:</dt>
11781185
<dd class="tag-source"><ul class="dummy"><li>
1179-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line424">line 424</a>
1186+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line429">line 429</a>
11801187
</li></ul></dd>
11811188
</div>
11821189

@@ -1301,7 +1308,7 @@ <h4 class="name" id="%5B%22getNormalizedSQL%22%5D">
13011308
<div class="details-item-container">
13021309
<dt class="tag-source">Source:</dt>
13031310
<dd class="tag-source"><ul class="dummy"><li>
1304-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line479">line 479</a>
1311+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line484">line 484</a>
13051312
</li></ul></dd>
13061313
</div>
13071314

@@ -1423,7 +1430,7 @@ <h4 class="name" id="%5B%22getSQL%22%5D">
14231430
<div class="details-item-container">
14241431
<dt class="tag-source">Source:</dt>
14251432
<dd class="tag-source"><ul class="dummy"><li>
1426-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line463">line 463</a>
1433+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line468">line 468</a>
14271434
</li></ul></dd>
14281435
</div>
14291436

@@ -1536,7 +1543,7 @@ <h4 class="name" id="%5B%22reset%22%5D">
15361543
<div class="details-item-container">
15371544
<dt class="tag-source">Source:</dt>
15381545
<dd class="tag-source"><ul class="dummy"><li>
1539-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line614">line 614</a>
1546+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line619">line 619</a>
15401547
</li></ul></dd>
15411548
</div>
15421549

@@ -1688,7 +1695,7 @@ <h4 class="name" id="%5B%22run%22%5D">
16881695
<div class="details-item-container">
16891696
<dt class="tag-source">Source:</dt>
16901697
<dd class="tag-source"><ul class="dummy"><li>
1691-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line488">line 488</a>
1698+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line493">line 493</a>
16921699
</li></ul></dd>
16931700
</div>
16941701

@@ -1776,7 +1783,7 @@ <h4 class="name" id="%5B%22step%22%5D">
17761783
<div class="details-item-container">
17771784
<dt class="tag-source">Source:</dt>
17781785
<dd class="tag-source"><ul class="dummy"><li>
1779-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line328">line 328</a>
1786+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line333">line 333</a>
17801787
</li></ul></dd>
17811788
</div>
17821789

@@ -1926,7 +1933,7 @@ <h4 class="name" id=".BindParams">
19261933
<div class="details-item-container">
19271934
<dt class="tag-source">Source:</dt>
19281935
<dd class="tag-source"><ul class="dummy"><li>
1929-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line267">line 267</a>
1936+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line272">line 272</a>
19301937
</li></ul></dd>
19311938
</div>
19321939

‎documentation/StatementIterator.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h4 class="name" id="StatementIterator">
229229
<div class="details-item-container">
230230
<dt class="tag-source">Source:</dt>
231231
<dd class="tag-source"><ul class="dummy"><li>
232-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line683">line 683</a>
232+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line688">line 688</a>
233233
</li></ul></dd>
234234
</div>
235235

@@ -361,7 +361,7 @@ <h4 class="name" id="%5B%22getRemainingSQL%22%5D">
361361
<div class="details-item-container">
362362
<dt class="tag-source">Source:</dt>
363363
<dd class="tag-source"><ul class="dummy"><li>
364-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line759">line 759</a>
364+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line764">line 764</a>
365365
</li></ul></dd>
366366
</div>
367367

@@ -468,7 +468,7 @@ <h4 class="name" id="%5B%22next%22%5D">
468468
<div class="details-item-container">
469469
<dt class="tag-source">Source:</dt>
470470
<dd class="tag-source"><ul class="dummy"><li>
471-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line709">line 709</a>
471+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line714">line 714</a>
472472
</li></ul></dd>
473473
</div>
474474

@@ -687,7 +687,7 @@ <h5 class="subsection-title">Properties</h5>
687687
<div class="details-item-container">
688688
<dt class="tag-source">Source:</dt>
689689
<dd class="tag-source"><ul class="dummy"><li>
690-
<a href="api.js.html">api.js</a>, <a href="api.js.html#line696">line 696</a>
690+
<a href="api.js.html">api.js</a>, <a href="api.js.html#line701">line 701</a>
691691
</li></ul></dd>
692692
</div>
693693

‎documentation/api.js.html‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,13 @@ <h1 class="page-title">api.js</h1>
300300
* You can't instantiate this class directly, you have to use a
301301
* {@link Database} object in order to create a statement.
302302
*
303-
* **Warning**: When you close a database (using db.close()),
304-
* all its statements are closed too and become unusable.
303+
* **Warnings**
304+
* 1. When you close a database (using db.close()), all
305+
* its statements are closed too and become unusable.
306+
* 1. After calling db.prepare() you must manually free the assigned memory
307+
* by calling Statement.free(). Failure to do this will cause subsequent
308+
* 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
309+
* is locked'.
305310
*
306311
* Statements can't be created by the API user directly, only by
307312
* Database::prepare

‎src/api.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
239239
* You can't instantiate this class directly, you have to use a
240240
* {@link Database} object in order to create a statement.
241241
*
242-
* **Warning**: When you close a database (using db.close()),
243-
* all its statements are closed too and become unusable.
242+
* **Warnings**
243+
* 1. When you close a database (using db.close()), all
244+
* its statements are closed too and become unusable.
245+
* 1. After calling db.prepare() you must manually free the assigned memory
246+
* by calling Statement.free(). Failure to do this will cause subsequent
247+
* 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
248+
* is locked'.
244249
*
245250
* Statements can't be created by the API user directly, only by
246251
* Database::prepare

0 commit comments

Comments
 (0)