frees-io / freestyle-cassandra

Freestyle Cassandra
http://frees.io/
Apache License 2.0
17 stars 4 forks source link

Method for inserting case class instances #126

Open fedefernandez opened 6 years ago

fedefernandez commented 6 years ago

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