qb: Deprecate Batch in favour of session.NewBatch

Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
Michał Matczuk
2020-04-22 10:09:23 +02:00
parent 33e08981ad
commit 9655ae5b49

View File

@@ -23,6 +23,8 @@ type BatchBuilder struct {
}
// Batch returns a new BatchBuilder.
//
// Deprecated: use session.NewBatch() instead
func Batch() *BatchBuilder {
return &BatchBuilder{}
}