qb: update, delete and performance improvements
This commit is contained in:
14
qb/mock.go
Normal file
14
qb/mock.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package qb
|
||||
|
||||
import "bytes"
|
||||
|
||||
type mockExpr struct {
|
||||
cql string
|
||||
names []string
|
||||
}
|
||||
|
||||
func (m mockExpr) WriteCql(cql *bytes.Buffer) (names []string) {
|
||||
cql.WriteString(m.cql)
|
||||
names = m.names
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user