I want to get all this array in a unique item named “listeServices” containing all this array.
To do so, i tried a Set node with a value “listeServices” and this expression :
{{ $items("Postgres Rechercher tous les id de services1") }}
The output is an array item named “listeServices” but its content is objects with “json” and “pairedItem” attributes, for example :
The direct output of the postgrest node is like this :
[
{
“id_service”: 100001,
“nom_colonne”: “field_1120”,
“valeur_attendue”: “1”,
“id_operation”:null
},
{
“id_service”: 100002,
“nom_colonne”: “field_1121”,
“valeur_attendue”: “0”,
“id_operation”:null
},
]
But then when I try to recover this output in a Set node not directly connected to the previous postgrest node I get this kind of result :
Hi folks, the example provided by @mcnaveen above would return the full n8n data structure in the listeServices field, but it sounds like that’s not what you’re after @Alban_TUAL.
Perhaps you want to use the Item Lists node instead? This node has a “Concatenate Items” operation which would return only the “visible” parts instead: