Compare commits
1 Commits
master
...
revert-19-
Author | SHA1 | Date |
---|---|---|
|
3f3a541809 |
|
@ -154,7 +154,11 @@ class DatabaseAdapter implements DatabaseAdapterContract, BatchDatabaseAdapterCo
|
||||||
$instance->where('v'.strval($key), $value);
|
$instance->where('v'.strval($key), $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$instance->delete();
|
foreach ($instance->get() as $model) {
|
||||||
|
if ($model->delete()) {
|
||||||
|
++$count;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -206,7 +210,11 @@ class DatabaseAdapter implements DatabaseAdapterContract, BatchDatabaseAdapterCo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$instance->delete();
|
foreach ($instance->get() as $model) {
|
||||||
|
if ($model->delete()) {
|
||||||
|
++$count;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue