Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Hao-Hsiang Song
/
topics-auction
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
45e2ef7c
authored
Nov 20, 2018
by
Rex Zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user services and user repo
parent
0dd5adbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/edu/uchicago/mpcs/topics/query/UserQuery.java
src/main/java/edu/uchicago/mpcs/topics/query/UserQuery.java
View file @
45e2ef7c
...
...
@@ -5,7 +5,7 @@ package edu.uchicago.mpcs.topics.query;
*/
public
final
class
UserQuery
{
public
static
final
String
IS_USER_ID_EXIST
=
"
SELECT count(ID) FROM USER WHERE
email = :email"
;
public
static
final
String
IS_USER_ID_EXIST
=
"
select count(ID) from user where
email = :email"
;
public
static
final
String
IS_AUTHENTICATED
=
"from User where email = :email and password = :password"
;
public
static
final
String
USER_BY_EMAIL
=
"from User
WHERE
email = :email"
;
public
static
final
String
USER_BY_EMAIL
=
"from User
where
email = :email"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment