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

Make sure bundles are created in a single txn #4462

Open
epicfaace opened this issue May 3, 2023 · 0 comments
Open

Make sure bundles are created in a single txn #4462

epicfaace opened this issue May 3, 2023 · 0 comments
Labels
p3 Do it some day.

Comments

@epicfaace
Copy link
Member

with self.engine.begin() as connection:
result = connection.execute(cl_bundle.insert().values(bundle_value))
self.do_multirow_insert(connection, cl_bundle_dependency, dependency_values)
self.do_multirow_insert(connection, cl_bundle_metadata, metadata_values)
bundle.id = result.lastrowid

@percyliang percyliang added the p3 Do it some day. label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3 Do it some day.
Projects
None yet
Development

No branches or pull requests

2 participants