shahpriyansh04S

Access nested fields in a query function

How can we access a field that is nested insde another field

Eg:
I want to access the seller id in a query function.

details: v.array(
      v.object({
        itemId: v.id("products"),
        sellerId: v.string(),
      })
    ),
Was this page helpful?