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

Any support for bach queries ? #105

Open
mrrfrog opened this issue Oct 21, 2017 · 1 comment
Open

Any support for bach queries ? #105

mrrfrog opened this issue Oct 21, 2017 · 1 comment

Comments

@mrrfrog
Copy link

mrrfrog commented Oct 21, 2017

Hey bro

I found cassandra batch query is used for atomic transactions.

https://docs.datastax.com/en/cql/3.1/cql/cql_reference/batch_r.html

and in django for running multi queries in one batch we can use something like this code

with transaction.commit_manually:
    for row in rows:
        row.modify()
    transaction.commit()

btw how can I achieve to something like this ?

@sethdenner
Copy link
Contributor

sethdenner commented Oct 21, 2017 via email

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

No branches or pull requests

2 participants