Macros

usql.dao.Macros
object Macros

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Macros.type

Members list

Type members

Classlikes

object TypeInfo

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TypeInfo.type
sealed trait TypeInfo[T]

Type info for each member, to differentiate between columnar and scalar types.

Type info for each member, to differentiate between columnar and scalar types.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Columnar[T]
class Scalar[T]
case class TypeInfos[T](infos: List[TypeInfo[_]])

Combined TypeInfos for a tuple.

Combined TypeInfos for a tuple.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TypeInfos

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TypeInfos.type

Value members

Concrete methods

inline def buildColumnar[T <: Product](using nm: NameMapping, mirror: ProductOf[T]): SimpleColumnar[T]
inline def buildTabular[T <: Product](using nm: NameMapping, mirror: ProductOf[T]): SqlTabular[T]
inline def columnGroupAnnotations[T]: List[Option[ColumnGroup]]
inline def columnNameAnnotations[T]: List[Option[ColumnName]]

Extract column name annotations for each column.

Extract column name annotations for each column.

Attributes

inline def deriveLabels[T](using m: Of[T]): List[String]
def fieldAnnotationExtractor[A, T](using quotes: Quotes, t: Type[T], a: Type[A]): Expr[List[Option[A]]]
inline def summonLabels[T <: Tuple]: List[String]
inline def tableNameAnnotation[T]: Option[TableName]

Extract table name annotation for the type.

Extract table name annotation for the type.

Attributes

def tableNameAnnotationImpl[T](using quotes: Quotes, t: Type[T]): Expr[Option[TableName]]
inline def typeName[T]: String
def typeNameImpl[T](using types: Type[T], quotes: Quotes): Expr[String]