log method

DoubleField log()

Get db value with LOG(X) function applied.

Return the base-10 logarithm for X.

Implementation

DoubleField log() {
  DoubleField result = DoubleField();
  result.queryBuilder = () => 'LOG(${buildQuery()})';
  result.parametersBuilder = () => getParameters();
  return result;
}