Classes that inherit the Sql trait will have to implement a method to copy themselves given just a different set of parameters.
Classes that inherit the Sql trait will have to implement a method to copy themselves given just a different set of parameters. HINT: Use a case class!
Execute a statement
Execute an update
Put in values for parameters in the query
Put in values for parameters in the query
a function that takes a SqlStatement and sets parameter values using its methods
a copy of this Sql with the new params
Put in values for tuple parameters in the query
Put in values for tuple parameters in the query
the tuple identifier in the query
the objects to loop over and use to insert data into the query
a function that takes a TupleStatement and sets parameter values using its methods
a copy of this Sql with the new tuple params
A trait for queries