-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.7] Add Builder::insertSub() #26732
Conversation
Is the syntax the same across all supported database drivers? |
They are the same in MySQL, SQL Server, PostgreSQL and SQLite. Reference: |
* | ||
* @param Builder $query | ||
* @param array $columns | ||
* @param string $sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use FQN here and proper spacing between parameters names
Renamed to |
This pull requests add the ability of inserting directly from a sub-query at SQL level, without loading data into memory.
Please refer to #2026 for its use.