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.
6060 }
6161\endcode
6262
63- Possible QVariant value types:
64- - invalid (null)
65- - int
66- - double
67- - string
68- - geometry
69-
7063Three Value Logic
7164=================
7265
@@ -90,15 +83,11 @@ Type conversion
9083Operators and functions that expect arguments to be of a particular
9184type automatically convert the arguments to that type, e.g. sin('2.1') will convert
9285the 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.
9487If implicit or explicit conversion is invalid, the evaluation returns an error.
9588Comparison operators do numeric comparison in case both operators are numeric (int/double)
9689or they can be converted to numeric types.
9790
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-
10291Implicit sharing
10392================
10493
You can’t perform that action at this time.
0 commit comments