Query a nested CDT
Hello everyone,
I kindly ask for a piece of advice doing this query.
I have a CDT called PurchaseOrderDetails and another one called ProductOrderedDetails. In this case, my PurchaseOrderDetails is pointing to an array of ProductOrderedDetails, like in the image below.


I was wondering what can be done in case I want to get all the information regarding the ProductOrderedDetails for a specific Purchase Order.
I already tried a few variations pointed in this page (https://docs.appian.com/suite/help/21.2/cdt_design_guidance.html) but I'm still unable to retrieve that information.
In the MySQL database, the PurchaseOrderDetails doesn't have a specific column called "ProductOrdered", but my ProductOrderedDetails column has one called:

On this case, what it's the best way to build queries around nested CDTs like this example?
Kind regards
