-
Notifications
You must be signed in to change notification settings - Fork 123
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
Batch insert with list of structs #110
Comments
Hi, are there any plans in the future for supporting this feature? Do you guys have an estimate for the 1.4 version? |
Hi @Manuporto I'd be delighted to work more on 1.4 items but atm we are busy with other projects. ... Anyway we accept PRs, if you can contribute this piece of work we are happy to merge and release it. |
The new Session API should support the Batch, the batch builder in qb should be removed. |
Great, thanks! |
Current example for batch insert https://github.com/scylladb/gocqlx/blob/master/example_test.go#L105 uses implementation with anonymous struct. This is something that is rarely used in practice.
What is actually needed is a way to iterate over items, add them to the batch builder and then also bind them with the items from the slice.
The text was updated successfully, but these errors were encountered: