Moved rand() function from "other" to the "mathematical functions"

section
This commit is contained in:
Lukas Eder 2012-08-10 21:03:14 +02:00
parent 924e057eeb
commit 9bd17b5c86

View File

@ -4153,6 +4153,14 @@ public class Factory implements FactoryOperations {
// XXX Mathematical functions
// ------------------------------------------------------------------------
/**
* Get the rand() function
*/
@Support
public static Field<BigDecimal> rand() {
return new Rand();
}
/**
* Find the greatest among all values
* <p>
@ -6019,14 +6027,6 @@ public class Factory implements FactoryOperations {
return new CurrentUser();
}
/**
* Get the rand() function
*/
@Support
public static Field<BigDecimal> rand() {
return new Rand();
}
// -------------------------------------------------------------------------
// XXX Fast querying
// -------------------------------------------------------------------------