Skip to content

Instantly share code, notes, and snippets.

@dwarshb
Created January 24, 2024 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwarshb/7c50a4edc80655a3a705496a0dfe0a7c to your computer and use it in GitHub Desktop.
Save dwarshb/7c50a4edc80655a3a705496a0dfe0a7c to your computer and use it in GitHub Desktop.
CREATE TABLE IF NOT EXISTS User (
idToken TEXT NOT NULL ,
email TEXT NOT NULL,
refreshToken TEXT,
name TEXT
);
insertUser:
INSERT INTO User(idToken,email,refreshToken,name)
VALUES(?, ?, ?, ?);
removeAllUsers:
DELETE FROM User;
selectAllUsers:
SELECT User.*
FROM User;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment