# strapi populate

SIngle type


```
"use strict";
const _ = require("lodash");


module.exports = {
  async find() {
    const results = await strapi
      .query("page-name")
      .find({ _limit: 1 }, [
        "sliders",
        "sliders.buttons",
        
      ]);
    return _.first(results) || null;
  },
};

``` 

collection type


```
"use strict";


module.exports = {
  async find(ctx) {
    const data = await strapi
      .query("editable-tabs")
      .find(ctx.query, [
        "sub_sections"
        
      ]);
    return data;
  },
};

``` 


