Parameterized queries are created by using interpolated parameters:
Relate uses JDBC’s PreparedStatement to correctly escape inputs.
Parameter sequences
Sequences of values are inserted as comma-separated lists.
Sequences of sequences of values are inserted as comma-separated tuples.
Types must be visible at compile time and correspond to parameterizable types.
The following does not compile, as Relate cannot parameterize Seq[Seq[Any]].
Tuples should be used instead.
Query composition
For more dynamic queries, SQL statements can be composed with interpolation