I tried to create a expression like this
let performedDate = Expression<String>("strftime('%Y-%m-%d', performedDate)")
and then compare with another string using filter method. But the generated SQL is
"strftime('%Y-%m-%d', performedDate)" = '2017-08-17'
.
There is a way to remove quotation marks from "strftime('%Y-%m-%d', performedDate)"
or I have to use raw SQL string?