Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldA.Eq undefined (type cqlc.BooleanColumn has no field or method Eq) #42

Open
vidyavnv opened this issue Jul 12, 2018 · 0 comments
Open

Comments

@vidyavnv
Copy link

vidyavnv commented Jul 12, 2018

I am facing this when I am trying to do SELECT using WHERE clause. Any ideas what this is about?

This is my query:

        ctx := cqlc.NewContext()
	iter, err := ctx.Select().
		From(A).
		Where(
			A.X.To(true),
			A.Y.Eq(cityID)).
		Fetch(c.session)

X is a boolean column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant