Specify explicitly that use gocql.Session.NewBatch instead of the deprecated BatchBuilder.
This commit is contained in:
committed by
Michal Jan Matczuk
parent
b79c395c11
commit
d76ea6c678
@@ -24,7 +24,7 @@ type BatchBuilder struct {
|
|||||||
|
|
||||||
// Batch returns a new BatchBuilder.
|
// Batch returns a new BatchBuilder.
|
||||||
//
|
//
|
||||||
// Deprecated: use session.NewBatch() instead
|
// Deprecated: Please use gocql.Session.NewBatch() instead.
|
||||||
func Batch() *BatchBuilder {
|
func Batch() *BatchBuilder {
|
||||||
return &BatchBuilder{}
|
return &BatchBuilder{}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user