'Add to End of Array' is adding an Array to the end of an Existing Array

Options

Hello,

I have an existing array, which is labeled "ShowHostArray" below. When I add an integer to that array, it adds another array, which ultimately breaks my schema.

Any thoughts on how to fix this?

Tagged:

Answers

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options

    At a guess, the Hosts input is a list of integers. So adding to the end will add the array as an entry. Either they typing is not quite right (e.g. you have a list where you meant to have a single) or we need another tool for the job. In the latter case, I think what you want is to merge the arrays. That's another option in the data menu. It will add the values from the second array into the first.

  • 5h8yn8
    5h8yn8 Member
    Options

    Hi Ray! That should do the trick. Thanks for the response.