15 lines
379 B
Go
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{}
|