pub trait RandomPolicy {
type Random: DataType;
}Expand description
Dialect-specific return type for RANDOM().
SQLite RANDOM() returns an integer in [-2^63, 2^63).
PostgreSQL RANDOM() returns a float in [0, 1).
pub trait RandomPolicy {
type Random: DataType;
}Dialect-specific return type for RANDOM().
SQLite RANDOM() returns an integer in [-2^63, 2^63).
PostgreSQL RANDOM() returns a float in [0, 1).