Horje
multilevel relation data in strapi Code Example
multilevel relation data in strapi
module.exports = {
    async find(ctx) {
        const entities = await strapi.services.order.find(ctx.query, [
            'cart.cart_items'
          ]);

        return entities.map((entity) =>
        sanitizeEntity(entity, { model: strapi.models.order }),
      );
        }
    
        
    
    // find: ctx => {
    //   return strapi.services.order.find(ctx.query, ['cart', 'cart_item']);
    // },
  };




Javascript

Related
nodejs folder structure best practices Code Example nodejs folder structure best practices Code Example
c++ 2d rectangle collision Code Example c++ 2d rectangle collision Code Example
pdf to image javascript Code Example pdf to image javascript Code Example
stop freeScroll in flickty Code Example stop freeScroll in flickty Code Example
Vue.use is not a function Code Example Vue.use is not a function Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8