Query

usql.Query
See theQuery companion object
trait Query[T]

An SQL Query

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

The row decoder

The row decoder

Attributes

def sql: SqlBase

The SQL of the Query

The SQL of the Query

Attributes

Concrete methods

def all()(using cp: ConnectionProvider): Vector[T]

Run a query for all rows.

Run a query for all rows.

Attributes

def one()(using cp: ConnectionProvider): Option[T]

Run a query for one row.

Run a query for one row.

Attributes