sqlAcos function Null safety

Expression<num?> sqlAcos(
  1. Expression<num?> value
)

Calculates the cosine of value in sql.

This function is equivalent to acos, except that it evaluates to null instead of NaN.

This function is only available when using a NativeDatabase.

Implementation

Expression<num?> sqlAcos(Expression<num?> value) {
  return FunctionCallExpression('acos', [value]);
}