equals method

Expression<bool> equals(
  1. D compare

Whether this column is equal to the given value, which must have a fitting type. The compare value will be written as a variable using prepared statements, so there is no risk of an SQL-injection.

This method only supports comparing the value of the column to non- nullable values and translates to a direct = comparison in SQL. To compare this column to null, use isValue.


Expression<bool> equals(D compare) =>
    _Comparison.equal(this, variable(compare));