easysql.macros
package easysql.macros
Members list
Value members
Concrete methods
def bindEntityMacro[T](nextIndex: Expr[Int], data: Expr[Array[Any]])(using q: Quotes, tpe: Type[T]): Expr[Option[T]]
def fetchPkMacro[T <: Product, PK <: SqlDataType | Tuple](using q: Quotes, t: Type[T], p: Type[PK]): Expr[(String, List[String])]
inline def insertMetaData[T <: Product](entity: T): List[(String, SqlDataType | Option[SqlDataType])]
def insertMetaDataMacro[T <: Product](entity: Expr[T])(using q: Quotes, tpe: Type[T]): Expr[List[(String, SqlDataType | Option[SqlDataType])]]
inline def updateMetaData[T <: Product](entity: T): (List[(String, SqlDataType)], List[(String, SqlDataType | Option[SqlDataType])])
def updateMetaDataMacro[T <: Product](entity: Expr[T])(using q: Quotes, tpe: Type[T]): Expr[(List[(String, SqlDataType)], List[(String, SqlDataType | Option[SqlDataType])])]
In this article