This commit is contained in:
JISAUAY committed 2025-04-15 16:35:13 -05:00
commit 5aaf6ede5d
12 files changed
+537

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
SELECT *
FROM albums
WHERE name = ?;
+3
View File
@@ -0,0 +1,3 @@
SELECT *
FROM artists
WHERE name = ?;
+4
View File
@@ -0,0 +1,4 @@
SELECT *
FROM songs
ORDER BY id
DESC LIMIT 1;
+4
View File
@@ -0,0 +1,4 @@
SELECT *
FROM songs
WHERE name = ?
AND artist = ?;
+3
View File
@@ -0,0 +1,3 @@
SELECT *
FROM users
WHERE name = ?;
+3
View File
@@ -0,0 +1,3 @@
INSERT INTO
albums (name, spotify_id, cover_art_url)
VALUES (?, ?, ?);
+3
View File
@@ -0,0 +1,3 @@
INSERT INTO
artists (name, spotify_id, icon_url)
VALUES (?, ?, ?);
+4
View File
@@ -0,0 +1,4 @@
-- With Spotify Id
INSERT INTO
songs (id, name, length, album, artist, spotify_id)
VALUES (?, ?, ?, ?, ?, ?);