Skip to content

Tutorial error #29

@elarielcl

Description

@elarielcl

Hi,
I'm learning to use slick with this tutorial(It is a very good guide) and found in the activator-hello-slick/tutorial/index.html says :

val upTo = Compiled { k: Column[Int] =>
  ts.filter(_.k <= k).sortBy(_.k)
}

But it should be :

val upTo = Compiled { k: Column[Int] =>
  ts.filter(_.key <= k).sortBy(_.key)
}

Cheers!

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