Initial Product release
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
async function fetchPlaylistById(pool, id) {
|
||||
const [rows] = await pool.query('SELECT * FROM playlists WHERE id = ?', [id]);
|
||||
return rows[0] || null;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
fetchPlaylistById
|
||||
};
|
||||
Reference in New Issue
Block a user