2017-09-21 21:43:27 +02:00
|
|
|
// Copyright (C) 2017 ScyllaDB
|
|
|
|
|
// Use of this source code is governed by a ALv2-style
|
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
2017-07-28 10:54:32 +02:00
|
|
|
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)
|
2017-07-28 10:18:38 +02:00
|
|
|
}
|
2017-08-02 11:12:31 +02:00
|
|
|
|
|
|
|
|
// M is a map.
|
|
|
|
|
type M map[string]interface{}
|