我正在使用cqlc查询cassandra。当我尝试运行SELECT语句时
ctx := cqlc.NewContext()
iter, err := ctx.Select().
From(X).
Where(
X.A.Eq(true),
X.B.Eq(cityID)).
Fetch(c.session)
它向我抛出以下错误
X.A.Eq undefined (type cqlc.BooleanColumn has no field or method Eq)
X.A是布尔列
类型BooleanColumn
type BooleanColumn interface { Column To(value *bool) ColumnBinding }
类型EqualityBooleanColumn
type EqualityBooleanColumn interface { BooleanColumn Eq(value bool) Condition }
X.A.Eq undefined (type cqlc.BooleanColumn has no field or method Eq)
这是真的。