Offset

ldbc.statement.Offset
case class Offset[A, B](table: A, columns: Column[B], statement: String, params: List[Dynamic]) extends Query[A, B]

A model for constructing OFFSET statements in MySQL.

Type parameters

A

The type of Table. in the case of Join, it is a Tuple of type Table.

B

Scala types to be converted by Decoder

Value parameters

columns

Union-type column list

params

A list of Traits that generate values from Parameter, allowing PreparedStatement to be set to a value by index only.

statement

SQL statement string

table

Trait for generating SQL table information.

Attributes

Source
Offset.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Query[A, B]
trait SQL
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def ++(sql: SQL): SQL

Attributes

Definition Classes
SQL
Source
Offset.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def query: Query[B]

A method to convert a query to a ldbc.dsl.Query.

A method to convert a query to a ldbc.dsl.Query.

 TableQuery[User].select(v => v.name *: v.age).query

Attributes

Returns

A ldbc.dsl.Query instance

Inherited from:
Query
Source
Query.scala
def queryTo[P <: Product](using m1: ProductOf[P], m2: ProductOf[B], check: m1.MirroredElemTypes =:= m2.MirroredElemTypes, decoder: Decoder[P]): Query[P]

A method to convert a query to a ldbc.dsl.Query.

A method to convert a query to a ldbc.dsl.Query.

 TableQuery[User].selectAll.queryTo[User]

Attributes

Returns

A ldbc.dsl.Query instance

Inherited from:
Query
Source
Query.scala