---
# System prepended metadata

title: '''gets all artist records'' solution'
tags: [solution, music-library, track]

---

---
tags: music-library,solution,track
---


 # 'gets all artist records' solution
 
```javascript=
 exports.list = (_, res) => {
  Artist.findAll().then(artists => {
    res.status(200).json(artists);
  });
};
```