batch: extracted AddWithPrefix
This commit is contained in:
@@ -90,8 +90,8 @@ func TestExample(t *testing.T) {
|
||||
i := qb.Insert("gocqlx_test.person").Columns("first_name", "last_name", "email")
|
||||
|
||||
stmt, names := qb.Batch().
|
||||
Add("a.", i).
|
||||
Add("b.", i).
|
||||
AddWithPrefix("a", i).
|
||||
AddWithPrefix("b", i).
|
||||
ToCql()
|
||||
|
||||
batch := struct {
|
||||
|
||||
Reference in New Issue
Block a user