Open fedefernandez opened 6 years ago
For the object mapper, we need a method that creates an insert prepared statement from a case class type using the StatementGenerator and the SessionAPI.prepare method.
case class
StatementGenerator
SessionAPI.prepare
def insertStatement[F[_], T]: FreeS[F, PreparedStatement]
This should take into account if the fields are options and omit the values of they're empty (None)
For the object mapper, we need a method that creates an insert prepared statement from a
case class
type using theStatementGenerator
and theSessionAPI.prepare
method.This should take into account if the fields are options and omit the values of they're empty (None)