Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
keenlysoft authored Aug 21, 2020
1 parent 1a70cae commit 0307ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ $user->add($data); #添加数据
|['name'=>'yang','age'=>18|

```php
#使用AR添加
#使用AR添加 预处理模式
$user = new user();
$user->name = 'jack_yang';
$user->save();
```
# 删除
```
#删除条件以数组方式或字符串方式传参
#删除条件以数组方式或字符串方式传参
$user = new User();
$user->Delete(['id'=>1,'name'=>'ccc']);
```
Expand Down

0 comments on commit 0307ac3

Please sign in to comment.