SQLCollatedExpression

public struct SQLCollatedExpression : SQLOrderingTerm

SQLCollatedExpression taints an expression so that every derived expression is eventually evaluated using an SQLite collation.

You create one by calling the collating() method:

let email = Column("email").collating(.nocase)

// SELECT * FROM player WHERE email = 'arthur@example.com' COLLATE NOCASE
Player.filter(email == "arthur@example.com")