utilitas 1992.4.55 → 1992.4.57
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/README.md +17 -0
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/index.mjs +3 -2
- package/lib/bot.mjs +10 -9
- package/lib/cache.mjs +21 -128
- package/lib/dbio.mjs +33 -2
- package/lib/manifest.mjs +1 -1
- package/lib/memory.mjs +63 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,11 @@ Works in Node.js and modern browsers.
|
|
|
39
39
|
| :--- | :--- | :--- |
|
|
40
40
|
| _NEED | Array | ioredis |
|
|
41
41
|
| default | AsyncFunction | options |
|
|
42
|
+
| del | AsyncFunction | |
|
|
43
|
+
| get | AsyncFunction | |
|
|
42
44
|
| init | AsyncFunction | options |
|
|
45
|
+
| set | AsyncFunction | key, value, options |
|
|
46
|
+
| setEx | AsyncFunction | key, value, ttl, options |
|
|
43
47
|
|
|
44
48
|
### [callosum](./lib/callosum.mjs)
|
|
45
49
|
|
|
@@ -89,8 +93,11 @@ Works in Node.js and modern browsers.
|
|
|
89
93
|
| deleteAll | AsyncFunction | table, options |
|
|
90
94
|
| deleteById | Function | table, id, options |
|
|
91
95
|
| deleteByKeyValue | AsyncFunction | table, key, value, options |
|
|
96
|
+
| desc | AsyncFunction | table, options |
|
|
97
|
+
| drop | AsyncFunction | table, options |
|
|
92
98
|
| end | AsyncFunction | options |
|
|
93
99
|
| execute | AsyncFunction | ...args |
|
|
100
|
+
| indexes | AsyncFunction | table, options |
|
|
94
101
|
| init | AsyncFunction | options |
|
|
95
102
|
| insert | AsyncFunction | table, fields, options |
|
|
96
103
|
| query | AsyncFunction | ...args |
|
|
@@ -101,6 +108,7 @@ Works in Node.js and modern browsers.
|
|
|
101
108
|
| rawAssembleKeyValue | Function | key, value, options |
|
|
102
109
|
| rawExecute | AsyncFunction | ...args |
|
|
103
110
|
| rawQuery | AsyncFunction | ...args |
|
|
111
|
+
| tables | AsyncFunction | options |
|
|
104
112
|
| updateById | AsyncFunction | table, id, fields, options |
|
|
105
113
|
| updateByKeyValue | AsyncFunction | table, key, value, fields, options |
|
|
106
114
|
| upsert | Function | table, fields, options |
|
|
@@ -158,6 +166,15 @@ Works in Node.js and modern browsers.
|
|
|
158
166
|
| :--- | :--- | :--- |
|
|
159
167
|
| default | Object | {} |
|
|
160
168
|
|
|
169
|
+
### [memory](./lib/memory.mjs)
|
|
170
|
+
|
|
171
|
+
| symbol | type | params / value |
|
|
172
|
+
| :--- | :--- | :--- |
|
|
173
|
+
| del | AsyncFunction | key, options |
|
|
174
|
+
| get | AsyncFunction | key, options |
|
|
175
|
+
| init | AsyncFunction | |
|
|
176
|
+
| set | AsyncFunction | key, value, options |
|
|
177
|
+
|
|
161
178
|
### [network](./lib/network.mjs)
|
|
162
179
|
|
|
163
180
|
| symbol | type | params / value |
|