Skip to content

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Oct 18, 2023

Fix PHPORM-101
Fix #1704

Eloquent SQL allows empty inserts and shortcuts the call to the database. Do the same for consistency.

https://github.com/laravel/framework/blob/a47df681bf4b72cb11e38f7ee7c285406ca934e0/src/Illuminate/Database/Query/Builder.php#L3307-L3314

@GromNaN GromNaN requested a review from alcaeus October 18, 2023 21:04
@GromNaN GromNaN changed the base branch from 4.1 to 4.0 October 18, 2023 21:07
@mongodb mongodb deleted a comment from codecov-commenter Oct 18, 2023
@codecov-commenter

This comment was marked as spam.

@GromNaN GromNaN merged commit 25bd203 into mongodb:4.0 Oct 19, 2023
@GromNaN GromNaN deleted the insert-empty branch October 19, 2023 07:14
@GromNaN GromNaN modified the milestones: 4.0.1, 4.0 Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$documents is empty
3 participants