w-orm-lowdb 1.0.2 → 1.0.3
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/dist/w-orm-lowdb.umd.js +2 -2
- package/dist/w-orm-lowdb.umd.js.map +1 -1
- package/docs/WOrmLowdb.html +42 -42
- package/docs/WOrmLowdb.mjs.html +389 -335
- package/docs/index.html +2 -2
- package/package.json +1 -2
- package/src/WOrmLowdb.mjs +387 -333
package/docs/WOrmLowdb.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="WOrmLowdb.html">WOrmLowdb</a><ul class='methods'><li data-type='method'><a href="WOrmLowdb.html#.
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="WOrmLowdb.html">WOrmLowdb</a><ul class='methods'><li data-type='method'><a href="WOrmLowdb.html#.delAllCore">delAllCore</a></li><li data-type='method'><a href="WOrmLowdb.html#.delCore">delCore</a></li><li data-type='method'><a href="WOrmLowdb.html#.insertCore">insertCore</a></li><li data-type='method'><a href="WOrmLowdb.html#.saveCore">saveCore</a></li><li data-type='method'><a href="WOrmLowdb.html#.selectCore">selectCore</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
<dt class="tag-source">Source:</dt>
|
|
82
82
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
83
|
-
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#
|
|
83
|
+
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#line38">line 38</a>
|
|
84
84
|
</li></ul></dd>
|
|
85
85
|
|
|
86
86
|
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
|
|
414
414
|
|
|
415
415
|
|
|
416
|
-
<h4 class="name" id=".
|
|
416
|
+
<h4 class="name" id=".delAllCore"><span class="type-signature type-signature-async, static">(async, static) </span>delAllCore<span class="signature">(find<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
|
|
@@ -423,13 +423,13 @@
|
|
|
423
423
|
<dl class="details">
|
|
424
424
|
|
|
425
425
|
<dt class="tag-description">Description:</dt>
|
|
426
|
-
<dd class="tag-description"><ul class="dummy"><li><p
|
|
426
|
+
<dd class="tag-description"><ul class="dummy"><li><p>刪除全部數據,需與del分開,避免未傳數據導致直接刪除全表</p></li></ul></dd>
|
|
427
427
|
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
<dt class="tag-source">Source:</dt>
|
|
431
431
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
432
|
-
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#
|
|
432
|
+
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#line531">line 531</a>
|
|
433
433
|
</li></ul></dd>
|
|
434
434
|
|
|
435
435
|
|
|
@@ -489,8 +489,12 @@
|
|
|
489
489
|
<th>Type</th>
|
|
490
490
|
|
|
491
491
|
|
|
492
|
+
<th>Attributes</th>
|
|
493
|
+
|
|
492
494
|
|
|
493
495
|
|
|
496
|
+
<th>Default</th>
|
|
497
|
+
|
|
494
498
|
|
|
495
499
|
<th class="last">Description</th>
|
|
496
500
|
</tr>
|
|
@@ -501,16 +505,13 @@
|
|
|
501
505
|
|
|
502
506
|
<tr>
|
|
503
507
|
|
|
504
|
-
<td class="name"><code>
|
|
508
|
+
<td class="name"><code>find</code></td>
|
|
505
509
|
|
|
506
510
|
|
|
507
511
|
<td class="type">
|
|
508
512
|
|
|
509
513
|
|
|
510
514
|
<span class="param-type">Object</span>
|
|
511
|
-
|
|
|
512
|
-
|
|
513
|
-
<span class="param-type">Array</span>
|
|
514
515
|
|
|
515
516
|
|
|
516
517
|
|
|
@@ -518,10 +519,26 @@
|
|
|
518
519
|
</td>
|
|
519
520
|
|
|
520
521
|
|
|
522
|
+
<td class="attributes">
|
|
523
|
+
|
|
524
|
+
<optional><br>
|
|
525
|
+
|
|
521
526
|
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
</td>
|
|
522
531
|
|
|
523
532
|
|
|
524
|
-
|
|
533
|
+
|
|
534
|
+
<td class="default">
|
|
535
|
+
|
|
536
|
+
<code>{}</code>
|
|
537
|
+
|
|
538
|
+
</td>
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
<td class="description last"><p>輸入刪除條件物件</p></td>
|
|
525
542
|
</tr>
|
|
526
543
|
|
|
527
544
|
|
|
@@ -574,7 +591,7 @@
|
|
|
574
591
|
|
|
575
592
|
|
|
576
593
|
|
|
577
|
-
<h4 class="name" id=".
|
|
594
|
+
<h4 class="name" id=".delCore"><span class="type-signature type-signature-async, static">(async, static) </span>delCore<span class="signature">(data)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
578
595
|
|
|
579
596
|
|
|
580
597
|
|
|
@@ -584,13 +601,13 @@
|
|
|
584
601
|
<dl class="details">
|
|
585
602
|
|
|
586
603
|
<dt class="tag-description">Description:</dt>
|
|
587
|
-
<dd class="tag-description"><ul class="dummy"><li><p
|
|
604
|
+
<dd class="tag-description"><ul class="dummy"><li><p>刪除數據</p></li></ul></dd>
|
|
588
605
|
|
|
589
606
|
|
|
590
607
|
|
|
591
608
|
<dt class="tag-source">Source:</dt>
|
|
592
609
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
593
|
-
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#
|
|
610
|
+
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#line391">line 391</a>
|
|
594
611
|
</li></ul></dd>
|
|
595
612
|
|
|
596
613
|
|
|
@@ -650,12 +667,8 @@
|
|
|
650
667
|
<th>Type</th>
|
|
651
668
|
|
|
652
669
|
|
|
653
|
-
<th>Attributes</th>
|
|
654
|
-
|
|
655
670
|
|
|
656
671
|
|
|
657
|
-
<th>Default</th>
|
|
658
|
-
|
|
659
672
|
|
|
660
673
|
<th class="last">Description</th>
|
|
661
674
|
</tr>
|
|
@@ -666,40 +679,27 @@
|
|
|
666
679
|
|
|
667
680
|
<tr>
|
|
668
681
|
|
|
669
|
-
<td class="name"><code>
|
|
682
|
+
<td class="name"><code>data</code></td>
|
|
670
683
|
|
|
671
684
|
|
|
672
685
|
<td class="type">
|
|
673
686
|
|
|
674
687
|
|
|
675
688
|
<span class="param-type">Object</span>
|
|
689
|
+
|
|
|
676
690
|
|
|
691
|
+
<span class="param-type">Array</span>
|
|
677
692
|
|
|
678
693
|
|
|
679
|
-
|
|
680
|
-
</td>
|
|
681
694
|
|
|
682
695
|
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
<optional><br>
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
696
|
+
</td>
|
|
689
697
|
|
|
690
|
-
|
|
691
|
-
</td>
|
|
692
698
|
|
|
693
699
|
|
|
694
700
|
|
|
695
|
-
<td class="default">
|
|
696
|
-
|
|
697
|
-
<code>{}</code>
|
|
698
|
-
|
|
699
|
-
</td>
|
|
700
|
-
|
|
701
701
|
|
|
702
|
-
<td class="description last"><p
|
|
702
|
+
<td class="description last"><p>輸入數據物件或陣列</p></td>
|
|
703
703
|
</tr>
|
|
704
704
|
|
|
705
705
|
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
|
|
753
753
|
|
|
754
754
|
|
|
755
|
-
<h4 class="name" id=".
|
|
755
|
+
<h4 class="name" id=".insertCore"><span class="type-signature type-signature-async, static">(async, static) </span>insertCore<span class="signature">(data)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
756
756
|
|
|
757
757
|
|
|
758
758
|
|
|
@@ -768,7 +768,7 @@
|
|
|
768
768
|
|
|
769
769
|
<dt class="tag-source">Source:</dt>
|
|
770
770
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
771
|
-
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#
|
|
771
|
+
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#line144">line 144</a>
|
|
772
772
|
</li></ul></dd>
|
|
773
773
|
|
|
774
774
|
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
|
|
914
914
|
|
|
915
915
|
|
|
916
|
-
<h4 class="name" id=".
|
|
916
|
+
<h4 class="name" id=".saveCore"><span class="type-signature type-signature-async, static">(async, static) </span>saveCore<span class="signature">(data, option<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
917
917
|
|
|
918
918
|
|
|
919
919
|
|
|
@@ -929,7 +929,7 @@
|
|
|
929
929
|
|
|
930
930
|
<dt class="tag-source">Source:</dt>
|
|
931
931
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
932
|
-
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#
|
|
932
|
+
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#line256">line 256</a>
|
|
933
933
|
</li></ul></dd>
|
|
934
934
|
|
|
935
935
|
|
|
@@ -1200,7 +1200,7 @@
|
|
|
1200
1200
|
|
|
1201
1201
|
|
|
1202
1202
|
|
|
1203
|
-
<h4 class="name" id=".
|
|
1203
|
+
<h4 class="name" id=".selectCore"><span class="type-signature type-signature-async, static">(async, static) </span>selectCore<span class="signature">(find<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
1204
1204
|
|
|
1205
1205
|
|
|
1206
1206
|
|
|
@@ -1216,7 +1216,7 @@
|
|
|
1216
1216
|
|
|
1217
1217
|
<dt class="tag-source">Source:</dt>
|
|
1218
1218
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1219
|
-
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#
|
|
1219
|
+
<a href="WOrmLowdb.mjs.html">WOrmLowdb.mjs</a>, <a href="WOrmLowdb.mjs.html#line82">line 82</a>
|
|
1220
1220
|
</li></ul></dd>
|
|
1221
1221
|
|
|
1222
1222
|
|
|
@@ -1393,7 +1393,7 @@
|
|
|
1393
1393
|
<br class="clear">
|
|
1394
1394
|
|
|
1395
1395
|
<footer>
|
|
1396
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Fri May 09 2025
|
|
1396
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Fri May 09 2025 12:29:37 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1397
1397
|
</footer>
|
|
1398
1398
|
|
|
1399
1399
|
<script>prettyPrint();</script>
|