Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
keenlysoft authored Jan 23, 2019
1 parent 68bff8b commit 7c34825
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ $user = new user();
$user->name = 'jack_yang';
$user->save();
```
# 删除
```
#删除条件以数组方式或字符串方式传参
$user = new User();
$user->Delete(['id'=>1,'name'=>'ccc']);
```


# 返回SQL
```php
model::find(['id'])->where(['name'=>'keenly'])->all(false) #all()或者 one()参数为FALSE
Expand Down

0 comments on commit 7c34825

Please sign in to comment.