joao-r-reis commented on PR #1764: URL: https://github.com/apache/cassandra-gocql-driver/pull/1764#issuecomment-2449912919
`Session.NewBatch()` should be deprecated now, global `NewBatch()` can be removed since it was deprecated already and `Session.Batch()` should be added to replace `Session.NewBatch()` (keep the same functionality). `Session.Batch()` does not have a conflict with the type `Batch`, you can have both (in fact this already exists with `Query()` which is what I'm suggesting we do for `Batch` as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org