Skip to content
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

add setting on insert #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

769344359
Copy link

@769344359 769344359 commented May 17, 2022

add setting clickhouse when insert

Sometime , we should set setting when insert.

            \DB::connection('clickhouse')->setSetting(['insert_deduplicate' => 0])->table('table')->insert($data);

When i want to set the setting of insert_deduplicate , i can not get the function to do it.

https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert-deduplicate

add setting clickhouse when insert
@769344359 769344359 changed the title Update Connection.php add setting on insert May 17, 2022
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.

1 participant