QueryOps

ldbc.dsl.syntax.QuerySyntax.QueryOps
implicit class QueryOps[T](buildQuery: Query[F, T])(using x$2: IsColumnQuery[F, T] =:= true) extends ConnectionProvider[F]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

inline def headOption: LogHandler[F] ?=> Kleisli[F, Connection[F], Option[InverseColumnMap[F, T]]]

A method to return the data to be retrieved from the database as Option type. If there are multiple data, the first one is retrieved.

A method to return the data to be retrieved from the database as Option type. If there are multiple data, the first one is retrieved.

Attributes

inline def headOption[P <: Product](using mirror: ProductOf[P], check: InverseColumnMap[F, T] =:= <none>): LogHandler[F] ?=> Kleisli[F, Connection[F], Option[P]]
inline def toList: FactoryCompat[InverseColumnMap[F, T], List[InverseColumnMap[F, T]]] ?=> LogHandler[F] ?=> Kleisli[F, Connection[F], List[InverseColumnMap[F, T]]]

Methods for returning an array of data to be retrieved from the database.

Methods for returning an array of data to be retrieved from the database.

Attributes

inline def toList[P <: Product](using mirror: ProductOf[P], check: InverseColumnMap[F, T] =:= <none>, factory: FactoryCompat[P, List[P]]): LogHandler[F] ?=> Kleisli[F, Connection[F], List[P]]
inline def unsafe: LogHandler[F] ?=> Kleisli[F, Connection[F], InverseColumnMap[F, T]]

A method to return the data to be retrieved from the database as is. If the data does not exist, an exception is raised. Use the headOption method if you want to retrieve individual data.

A method to return the data to be retrieved from the database as is. If the data does not exist, an exception is raised. Use the headOption method if you want to retrieve individual data.

Attributes

inline def unsafe[P <: Product](using mirror: ProductOf[P], check: InverseColumnMap[F, T] =:= <none>): LogHandler[F] ?=> Kleisli[F, Connection[F], P]

Inherited methods

protected def connectionToHeadOption[T](statement: String, params: Seq[ParameterBinder[F]])(using Kleisli[F, ResultSet[F], T], LogHandler[F]): Kleisli[F, Connection[F], Option[T]]

A method to return the data to be retrieved from the database as Option type. If there are multiple data, the first one is retrieved.

A method to return the data to be retrieved from the database as Option type. If there are multiple data, the first one is retrieved.

Attributes

Inherited from:
ConnectionProvider
protected def connectionToList[T](statement: String, params: Seq[ParameterBinder[F]])(using Kleisli[F, ResultSet[F], T], LogHandler[F], FactoryCompat[T, List[T]]): Kleisli[F, Connection[F], List[T]]

Methods for returning an array of data to be retrieved from the database.

Methods for returning an array of data to be retrieved from the database.

Attributes

Inherited from:
ConnectionProvider
protected def connectionToUnsafe[T](statement: String, params: Seq[ParameterBinder[F]])(using Kleisli[F, ResultSet[F], T], LogHandler[F]): Kleisli[F, Connection[F], T]

A method to return the data to be retrieved from the database as is. If the data does not exist, an exception is raised. Use the connectionToHeadOption method if you want to retrieve individual data.

A method to return the data to be retrieved from the database as is. If the data does not exist, an exception is raised. Use the connectionToHeadOption method if you want to retrieve individual data.

Attributes

Inherited from:
ConnectionProvider

Givens

Givens

inline given given_Kleisli_F_ResultSet_InverseColumnMap: Kleisli[F, ResultSet[F], InverseColumnMap[F, T]]