You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a bug in one or the other?
Also worth noting that there is the similar method execute_batch_with_payloads and they both use the old style CassFuture instead of an async method like Batch::execute does.
The text was updated successfully, but these errors were encountered:
Ah, you're right - looks like we missed a few. The batch or statement should always be consumed, and we should be using the new-style futures everywhere.
I think we should just remove Session::execute_batch, Session::execute_batch_with_payloads, and Session::execute_with_payloads.
We should add Batch::execute_with_payloads and Statement::execute_with_payloads.
Is this a bug in one or the other?
Also worth noting that there is the similar method execute_batch_with_payloads and they both use the old style
CassFuture
instead of an async method like Batch::execute does.The text was updated successfully, but these errors were encountered: