Enum wing_sqlparser::ast::UnaryOperator [−][src]
pub enum UnaryOperator {
Plus,
Minus,
Not,
PGBitwiseNot,
PGSquareRoot,
PGCubeRoot,
PGPostfixFactorial,
PGPrefixFactorial,
PGAbs,
}
Expand description
Unary operators
Variants
Plus
Minus
Not
PGBitwiseNot
Bitwise Not, e.g. ~9
(PostgreSQL-specific)
PGSquareRoot
Square root, e.g. |/9
(PostgreSQL-specific)
PGCubeRoot
Cube root, e.g. ||/27
(PostgreSQL-specific)
PGPostfixFactorial
Factorial, e.g. 9!
(PostgreSQL-specific)
PGPrefixFactorial
Factorial, e.g. !!9
(PostgreSQL-specific)
PGAbs
Absolute value, e.g. @ -9
(PostgreSQL-specific)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnaryOperator
impl Send for UnaryOperator
impl Sync for UnaryOperator
impl Unpin for UnaryOperator
impl UnwindSafe for UnaryOperator
Blanket Implementations
Mutably borrows from an owned value. Read more