# CockpitQL - JSON Array in a mutation

**URL:** <https://discourse.getcockpit.com/t/cockpitql-json-array-in-a-mutation/1504>\
**Category:** Addons\
**Created:** [June 11, 2020, 2:55am UTC](https://discourse.getcockpit.com/t/cockpitql-json-array-in-a-mutation/1504 "2020-06-11T02:55:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iairu](https://avatars.discourse-cdn.com/v4/letter/i/a3d4f5/32.png) [@iairu](https://discourse.getcockpit.com/u/iairu)\
**Post date:** [June 11, 2020, 2:55am UTC](https://discourse.getcockpit.com/t/cockpitql-json-array-in-a-mutation/1504/1 "2020-06-11T02:55:25Z")

</div>

I’m trying to update an array ( generated by Multiselect fieldtype )

 ![mspaint_Tf1dJPWrYf](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/c7dab05e3d3a05dd0516fe8569b6d36c97feebe0.png)

I tried all kinds of workarounds, the only one that comes close is creating an object instead, that however breaks the Multiselect fieldtype functionality.

Any help would be appreciated, thanks 🙂
