org.easysql.macros

Members list

Concise view

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 bindEntityMacro[T](inline nextIndex: Int): (Int, Array[Any] => T)
def bindEntityMacroImpl[T](nextIndex: Expr[Int])(using q: Quotes, tpe: Type[T]): Expr[(Int, Array[Any] => T)]
inline def bindOptionMacro[T](inline nextIndex: Int): (Int, Array[Any] => Option[T])
def bindOptionMacroImpl[T](nextIndex: Expr[Int])(using q: Quotes, tpe: Type[T]): Expr[(Int, Array[Any] => Option[T])]
inline def bindSelect[T]: Array[Any] => T
inline def bindSingleton[T](nextIndex: Int): (Int, Array[Any] => Any)
inline def exprMetaMacro[T](inline name: String): (String, String)
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 | () => Any)])
def insertMacroImpl[T <: Product](using q: Quotes, tpe: Type[T]): Expr[(String, List[(String, T => Any | () => Any)])]
inline def pkMacro[T <: Product, PK <: SqlDataType | Tuple]: (String, List[String])
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)])]