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[_]], builder: List[Any] => T)

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 annotationsExtractor[T]: List[List[Annotation]]
def annotationsExtractorImpl[T](using quotes: Quotes, t: Type[T]): Expr[List[List[Annotation]]]
inline def buildFielded[T <: Product](using nm: NameMapping, mirror: ProductOf[T]): SqlFielded[T]
inline def buildTabular[T <: Product](using nm: NameMapping, mirror: ProductOf[T]): SqlTabular[T]
inline def deriveLabels[T](using m: Of[T]): List[String]
def getMaxOneAnnotation[T : ClassTag](in: List[Annotation]): Option[T]
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]