@yanit/jsondb 0.1.1 → 0.1.2
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 +3 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm install
|
|
|
26
26
|
### 基本使用
|
|
27
27
|
|
|
28
28
|
```javascript
|
|
29
|
-
import { Database } from 'jsondb';
|
|
29
|
+
import { Database } from '@yanit/jsondb';
|
|
30
30
|
|
|
31
31
|
async function main() {
|
|
32
32
|
// 连接数据库(普通模式)
|
|
@@ -77,7 +77,7 @@ main().catch(console.error);
|
|
|
77
77
|
JSONDB 支持标准 SQL 语法子集,可以直接使用 SQL 进行增删改查操作:
|
|
78
78
|
|
|
79
79
|
```javascript
|
|
80
|
-
import { Database } from 'jsondb';
|
|
80
|
+
import { Database } from '@yanit/jsondb';
|
|
81
81
|
|
|
82
82
|
const db = new Database('./temp/mydb');
|
|
83
83
|
await db.open();
|
|
@@ -562,7 +562,7 @@ class Cursor {
|
|
|
562
562
|
### 基本使用
|
|
563
563
|
|
|
564
564
|
```javascript
|
|
565
|
-
import { Database } from 'jsondb';
|
|
565
|
+
import { Database } from '@yanit/jsondb';
|
|
566
566
|
|
|
567
567
|
// 连接数据库
|
|
568
568
|
const db = new Database('./data/mydb');
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.js
CHANGED
package/package.json
CHANGED