mm_sql 1.4.0 → 1.4.1
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,6 +139,10 @@ const filteredParams = sql.filter({ id: 1, name: '张三', password: '123' }, ['
|
|
|
139
139
|
// 获取底层数据库适配器
|
|
140
140
|
const dbAdapter = sql.db();
|
|
141
141
|
// 可用于直接操作底层数据库接口
|
|
142
|
+
db.table = "user_account";
|
|
143
|
+
const user = await db.get({
|
|
144
|
+
user_id: 1
|
|
145
|
+
});
|
|
142
146
|
```
|
|
143
147
|
|
|
144
148
|
### 4. 配置选项
|