qb: interface

This commit is contained in:
Michał Matczuk
2017-07-28 10:54:32 +02:00
parent eb033c4922
commit 3b3c7087d2

7
qb/qb.go Normal file
View File

@@ -0,0 +1,7 @@
package qb
// Builder is interface implemented by all the builders.
type Builder interface {
// ToCql builds the query into a CQL string and named args.
ToCql() (stmt string, names []string)
}