2.9 KiB
2.9 KiB
Built-in Operators
{{#include ../links.md}}
The following operators are built-in, meaning that they are always available, even when using a [raw Engine
].
All built-in operators are binary, and are supported for both operands of the same type.
Operators | Assignment operators | Supported types (see [standard types]) |
---|---|---|
+ , |
+= |
|
- , * , / , % , ** , |
-= , *= , /= , %= , **= |
|
<< , >> |
<<= , >>= |
|
& , | , ^ |
&= , |= , ^= |
|
&& , || |
|
|
== , != |
|
|
> , >= , < , <= |
|
`FLOAT` and [`Decimal`][rust_decimal] also inter-operate with `INT`, while [strings] inter-operate
with [characters][string] for certain operators (e.g. `+`).