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!
The names of list params mapped to their size
The names of list params mapped to their size
Replace the provided identifier with a comma separated list of parameters WARNING: modifies this Expandable in place
Replace the provided identifier with a comma separated list of parameters WARNING: modifies this Expandable in place
the identifier for the parameter
the count of parameters in the list
Execute a statement
Execute a statement
Execute an update
Execute an update
Expand out the query by turning an Iterable into several parameters
Expand out the query by turning an Iterable into several parameters
a copy of this Expandable with the query expanded
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
Replace the provided identifier with a comma separated list of tuples WARNING: modifies this Expandable in place
Replace the provided identifier with a comma separated list of tuples WARNING: modifies this Expandable in place
the identifier for the tuples
a list of the column names in the order they should be inserted into the tuples
the number of tuples to insert
A trait for SQL queries that can be expanded