freestyle-cassandra icon indicating copy to clipboard operation
freestyle-cassandra copied to clipboard

Method for inserting case class instances

Open fedefernandez opened this issue 8 years ago • 0 comments

Method for executing* an insert statement from a case class (* we're returning a FreeS, not executing) using the StatementGenerator, and the SessionAPI.executeWithByteBuffer method.

def insert[F[_], T](t: T): FreeS[F, ResultSet]

Important: This method shouldn't create a prepared statement

fedefernandez avatar Nov 20 '17 07:11 fedefernandez