In slick you write a projection that:
defines how the columns are converted to and from the Person object.
the default format is:
def * = (id, name, age) <> ((Person.apply _).tupled, Person.unapply)
We can use it to directly map classes/tuples to database tables.
Can you use it to alter values as part of the conversion?
E.g. purely as an example, could you set a constant value in the Person object, but ignore it in the database? Or map the name as a String in the database, and as an enum in the Person object?