u
This commit is contained in:
16
src/sql/google_auth.js
Normal file
16
src/sql/google_auth.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const ADD = `
|
||||
INSERT INTO google_auth (email)
|
||||
OUTPUT INSERTED.id
|
||||
VALUES (@email)
|
||||
`;
|
||||
|
||||
export const LIST = `
|
||||
SELECT id, email, created_at
|
||||
FROM google_auth
|
||||
ORDER BY id
|
||||
`;
|
||||
|
||||
export const DEL = `
|
||||
DELETE FROM google_auth
|
||||
WHERE id = @id
|
||||
`;
|
||||
Reference in New Issue
Block a user