Created
November 30, 2012 12:26
-
-
Save pedrofurla/4175494 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val query = Query(Users) drop 10 take 10 | |
query.selectStatement | |
//> query : scala.slick.lifted.Query[querying.samples.model.Users.type,queryin | |
//| g.samples.model.User] = scala.slick.lifted.WrappingQuery@10f102d3 | |
//> res0: String = select x2.x3, x2.x4, x2.x5, x2.x6, x2.x7 from (select x8."id | |
//| " as x3, x8."name" as x4, x8."email" as x5, x8."password" as x6, x8."roleId | |
//| " as x7 from "user" x8 limit 10 offset 10) x2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment