diff --git a/src/QueryGrammar.php b/src/QueryGrammar.php index 6deb9aa..2815fd8 100644 --- a/src/QueryGrammar.php +++ b/src/QueryGrammar.php @@ -1166,11 +1166,6 @@ public function compileInsert(Builder $builder, array $values): array } $params['body'][] = ['index' => $index]; - - if (isset($doc['id'])) { - unset($doc['id']); - } - $params['body'][] = $doc; }