File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,6 @@ The expressions try to follow both syntax and semantics of SQL expressions.
60
60
}
61
61
\endcode
62
62
63
- Possible QVariant value types:
64
- - invalid (null)
65
- - int
66
- - double
67
- - string
68
- - geometry
69
-
70
63
Three Value Logic
71
64
=================
72
65
@@ -90,15 +83,11 @@ Type conversion
90
83
Operators and functions that expect arguments to be of a particular
91
84
type automatically convert the arguments to that type, e.g. sin('2.1') will convert
92
85
the argument to a double, length(123) will first convert the number to a string.
93
- Explicit conversion can be achieved with toint, toreal, tostring functions.
86
+ Explicit conversion can be achieved with to_int, to_real, to_string functions.
94
87
If implicit or explicit conversion is invalid, the evaluation returns an error.
95
88
Comparison operators do numeric comparison in case both operators are numeric (int/double)
96
89
or they can be converted to numeric types.
97
90
98
- Arithmetic operators do integer arithmetics if both operands are integer. That is
99
- 2+2 yields integer 4, but 2.0+2 returns real number 4.0. There are also two versions of
100
- division and modulo operators: 1.0/2 returns 0.5 while 1/2 returns 0.
101
-
102
91
Implicit sharing
103
92
================
104
93
You can’t perform that action at this time.
0 commit comments