Skip to content
Discussion options

You must be logged in to vote

Hey @webwurm, I tried recreating the issue you were facing. Firstly, I created a JSON field and set Default as an array to true. I replicated your tags data, as in the screenshot above, and stored it in a row.

Then, I created another Derivative column and set its Output Field Type to Short Text. Following is the Derivative function I created for displaying a particular element of the segments array:

const derivative:Derivative = async ({row,ref,db,storage,auth})=>{
    const data = row.tags[0]._key.path.segments[0]
    return data
  }

After deploying, the function seems to work perfectly and returns the correct value for the array element.

I wonder what seems to be the issue with your c…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@webwurm
Comment options

@harinij
Comment options

@webwurm
Comment options

@harinij
Comment options

Answer selected by harinij
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants