Query

usql.Query
case class Query(sql: SqlBase)

The user wants o issue a query.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

Run a query for all rows.

Run a query for all rows.

Attributes

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

Run a query for one row.

Run a query for one row.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product