I am using cqlc for querying cassandra. When I try to run SELECT statement
ctx := cqlc.NewContext()
iter, err := ctx.Select().
From(X).
Where(
X.A.Eq(true),
X.B.Eq(cityID)).
Fetch(c.session)
it throws me the following error
X.A.Eq undefined (type cqlc.BooleanColumn has no field or method Eq)
X.A is a boolean column
type BooleanColumn interface { Column To(value *bool) ColumnBinding }
type EqualityBooleanColumn interface { BooleanColumn Eq(value bool) Condition }
X.A.Eq undefined (type cqlc.BooleanColumn has no field or method Eq)
That is true.