This commit is contained in:
seb
2026-07-31 04:52:14 +02:00
parent 10d1d472fd
commit 52b9d125f7
5 changed files with 57 additions and 0 deletions

View File

@@ -4,6 +4,18 @@ OUTPUT INSERTED.id
VALUES (@email)
`;
export const GET_BY_ID = `
SELECT id, email, created_at, selected_company
FROM google_auth
WHERE id = @id
`;
export const GET_BY_EMAIL = `
SELECT id, email, created_at, selected_company
FROM google_auth
WHERE email = @email
`;
export const LIST = `
SELECT id, email, created_at, selected_company
FROM google_auth