Search code examples
importsqueryl

Squeryl: from not found


Which import is needed for Squeryl's

from

statement?

Erroneous statement:

def users = from(MySchema.users)(u => where(u.id === user.id.id) select(u))

Error message: "not found: value from"


Solution

  • The import

    import org.squeryl.PrimitiveTypeMode._
    

    was needed. Now it compiles.

    Seems I am the only one who uses Squeryl... Thanks for watching.