We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7e815e commit 7b013e6Copy full SHA for 7b013e6
src/Relations/EmbedsMany.php
@@ -208,6 +208,7 @@ public function destroy($ids = [])
208
public function delete($id = null): int
209
{
210
throw_if($id !== null, new LogicException('The id parameter should not be used.'));
211
+
212
// Overwrite the local key with an empty array.
213
$result = $this->query->update([$this->localKey => []]);
214
0 commit comments