Files
gocqlx/qb/qb.go
2017-09-21 21:43:27 +02:00

15 lines
379 B
Go

// Copyright (C) 2017 ScyllaDB
// Use of this source code is governed by a ALv2-style
// license that can be found in the LICENSE file.
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)
}
// M is a map.
type M map[string]interface{}