GROQJavaScriptPowershell

Array Traversal in GROQ

post image

raverses the left-hand array, applying the optional right-hand access operator to each element and collecting the resulting values in a flat array - e.g., array[].attribute yields a flat array of the attribute attribute value of each array element, and array[]->name yields a flat array of the name attribute values of each document referenced by array. If no right-hand access operator is given, it defaults to returning a flat array containing each traversed element.

3f31aafe2daf
[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop
2023 © - All Rights Reserved