floor method

DoubleField floor()

Get db value with FLOOR(X) function applied.

Implementation

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