QueryProvider

ldbc.statement.Limit.QueryProvider
transparent trait QueryProvider[A, B]

Attributes

Source
Limit.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class GroupBy[A, B]
class Having[A, B]
class OrderBy[A, B]
class Select[A, B]
class Q[A, B]
Self type
Query[A, B]

Members list

Value members

Concrete methods

def limit(length: Long): (Encoder[Long]) ?=> Q[A, B]

A method for setting the LIMIT condition in a SELECT statement.

A method for setting the LIMIT condition in a SELECT statement.

 TableQuery[City]
   .select(_.population)
   .limit(10)

Value parameters

length

The number of rows to return.

Attributes

Source
Limit.scala