File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ <h3>IN expression</h3>
2
+ Returns 1 if value is found within a list of values
3
+
4
+ <h4>Syntax</h4>
5
+ <pre>'a' IN ('a', 'b')</pre>
6
+
7
+ <h4>Arguments</h4>
8
+ None
9
+
10
+ <h4>Example</h4>
11
+ <pre> 'A' IN ('A','B") → returns 1 </pre>
12
+ <pre> 'A' IN ('C','B") → returns 0 </pre>
13
+
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
72
72
.arg ( tr ( " Joins two values together into a string" ) )
73
73
.arg ( tr ( " Usage" ) )
74
74
.arg ( tr ( " 'Dia' || Diameter" ) ) );
75
+ registerItem ( " Operators" , " IN" , " IN " );
75
76
registerItem ( " Operators" , " LIKE" , " LIKE " );
76
77
registerItem ( " Operators" , " ILIKE" , " ILIKE " );
77
78
registerItem ( " Operators" , " IS" , " IS " );
You can’t perform that action at this time.
0 commit comments