org.easysql.macros

Value members

Concrete methods

inline def aliasMacro[E <: Product, T <: TableSchema[E]](table: T): T
def aliasMacroImpl[E <: Product, T <: TableSchema[E]](table: Expr[T])(using quotes: Quotes, tt: Type[T], et: Type[E]): Expr[T]
inline def exprMetaMacro[T](inline name: String): (String, String)
@experimental
def exprMetaMacroImpl[T](name: Expr[String])(using q: Quotes, t: Type[T]): Expr[(String, String)]
inline def fetchTableNameMacro[T <: Product]: String
def fetchTableNameMacroImpl[T <: Product](using quotes: Quotes, tpe: Type[T]): Expr[String]
inline def fieldNamesMacro[T]: List[String]
def fieldNamesMacroImpl[T](using q: Quotes, t: Type[T]): Expr[List[String]]
inline def insertMacro[T <: Product]: (String, List[(String, T => Any)])
def insertMacroImpl[T <: Product](using q: Quotes, tpe: Type[T]): Expr[(String, List[(String, T => Any)])]
inline def pkMacro[T <: Product, PK <: SqlDataType | Tuple]: (String, List[String])
@experimental
def pkMacroImpl[T <: Product, PK <: SqlDataType | Tuple](using q: Quotes, t: Type[T], p: Type[PK]): Expr[(String, List[String])]
inline def updateMacro[T <: Product]: (String, List[(String, T => Any)], List[(String, T => Any)])
def updateMacroImpl[T <: Product](using q: Quotes, tpe: Type[T]): Expr[(String, List[(String, T => Any)], List[(String, T => Any)])]