feat(connector): add getProjectById

This commit is contained in:
Anthony
2024-04-04 20:22:08 +02:00
parent 197bfc5966
commit 8e4ae16d7a
2 changed files with 24 additions and 0 deletions

View File

@@ -13,5 +13,9 @@ VALUES (?, ?, ?);
selectAllProjects:
SELECT * FROM Project;
selectProjectById:
SELECT * FROM Project
WHERE id = ?;
countProjects:
SELECT COUNT(*) FROM Project;