From 7c3482539091c20a9373780c163e5392213a2dc9 Mon Sep 17 00:00:00 2001 From: Brain yang <38453834+keenlysoft@users.noreply.github.com> Date: Wed, 23 Jan 2019 15:39:58 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8f800c4..bac5d94 100644 --- a/README.md +++ b/README.md @@ -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