log2 method
Get db value with LOG2(X)
function applied.
Return the base-2 logarithm for X.
Implementation
DoubleField log2() {
DoubleField result = DoubleField();
result.queryBuilder = () => 'LOG2(${buildQuery()})';
result.parametersBuilder = () => getParameters();
return result;
}