Skip to main content
added 634 characters in body
Source Link
Babel
  • 81.3k
  • 15
  • 101
  • 261

In your expression, you have a wront syntax concering the use of quotes. It concerns the following part of the expression:

"status = 'cut down'"

Double quotes " are used to define fields (attributes), single quotes 'there are used to define text strings.

So the correct expression to define: field status equals text cut down isseveral problems:

 "status" = 'cut down'
  1. You have a wront syntax concering the use of quotes. It concerns the following part of the expression:

    "status = 'cut down'"
    

    Double quotes " are used to define fields (attributes), single quotes ' are used to define text strings. So the correct expression to define: field status equals text cut down is:

     "status" = 'cut down'
    
  2. The function relation_aggregate() has three mandatory arguments and two optional ones:

    relation_aggregate(relation, aggregate, expression, [concatenator=’’], [order_by])
    

    In your expression, the forth argument is not named, so it is not clear if it is used as concatenator or for odering. You seem to attempt to filter it, but relation_aggregate has not filter option. You should use another expression array_filter() to do so.

In your expression, you have a wront syntax concering the use of quotes. It concerns the following part of the expression:

"status = 'cut down'"

Double quotes " are used to define fields (attributes), single quotes ' are used to define text strings.

So the correct expression to define: field status equals text cut down is:

 "status" = 'cut down'

In your expression, there are several problems:

  1. You have a wront syntax concering the use of quotes. It concerns the following part of the expression:

    "status = 'cut down'"
    

    Double quotes " are used to define fields (attributes), single quotes ' are used to define text strings. So the correct expression to define: field status equals text cut down is:

     "status" = 'cut down'
    
  2. The function relation_aggregate() has three mandatory arguments and two optional ones:

    relation_aggregate(relation, aggregate, expression, [concatenator=’’], [order_by])
    

    In your expression, the forth argument is not named, so it is not clear if it is used as concatenator or for odering. You seem to attempt to filter it, but relation_aggregate has not filter option. You should use another expression array_filter() to do so.

Source Link
Babel
  • 81.3k
  • 15
  • 101
  • 261

In your expression, you have a wront syntax concering the use of quotes. It concerns the following part of the expression:

"status = 'cut down'"

Double quotes " are used to define fields (attributes), single quotes ' are used to define text strings.

So the correct expression to define: field status equals text cut down is:

 "status" = 'cut down'