From 3b3c7087d2708a326104cb777832c4dedb0476ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Matczuk?= Date: Fri, 28 Jul 2017 10:54:32 +0200 Subject: [PATCH] qb: interface --- qb/qb.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 qb/qb.go diff --git a/qb/qb.go b/qb/qb.go new file mode 100644 index 0000000..00f690a --- /dev/null +++ b/qb/qb.go @@ -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) +} \ No newline at end of file