Add a db query to get all the Sessions.
This commit is contained in:
parent
2135d75712
commit
70de1bd6a0
5 changed files with 16 additions and 1 deletions
|
|
@ -10,6 +10,9 @@ CREATE TABLE SessionData (
|
|||
selectFirst:
|
||||
SELECT * FROM SessionData LIMIT 1;
|
||||
|
||||
selectAll:
|
||||
SELECT * FROM SessionData;
|
||||
|
||||
selectByUserId:
|
||||
SELECT * FROM SessionData WHERE userId = ?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue