essential-slick icon indicating copy to clipboard operation
essential-slick copied to clipboard

Describe Query.to[T]

Open d6y opened this issue 9 years ago • 1 comments

Should just be a paragraph and example, probably, to in a table:

  • to[C[_]] - convert to the collection type `C

d6y avatar Dec 04 '15 09:12 d6y

E.g., .to[Set]

From the mailing list Stefan notes:

You can call .to[Set] on the Query to change it upfront so that Slick doesn't build an intermediate Seq from the result set.

d6y avatar Mar 09 '17 13:03 d6y