Skip to content

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

Description

@vidyavnv

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions