sqlPow function
Raises base
to the power of exponent
.
This function is equivalent to pow, except that it evaluates to null
instead of NaN
.
This function is only available when using a NativeDatabase
.
Implementation
Expression<num?> sqlPow(Expression<num?> base, Expression<num?> exponent) {
return FunctionCallExpression('pow', [base, exponent]);
}