collate method Null safety

ExpressionInterface collate(
  1. CollationInterface collation
)

Returns a new expression which applies the given collation to this expression.

Commonly the collate expression is used in the ORDER BY clause or the string comparison expression (e.g. equalTo or lessThan) to specify how the two strings are compared.

Implementation

ExpressionInterface collate(CollationInterface collation);