Refy
Users
Repository
The RefyUsersRepository
interface is
useful to manage the queries for the users operations
Author
N7ghtm4r3 - Tecknobit
See also
JpaRepository
EquinoxUsersRepository
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + USERS_KEY + " SET "
+ TAG_NAME_KEY + "=:" + TAG_NAME_KEY +
_WHERE_ + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to change the
tag name of the RefyUser
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Query(value = ""SELECT " + IDENTIFIER_KEY + "," + PROFILE_PIC_KEY + "," + NAME_KEY + "," + SURNAME_KEY + ","
+ EMAIL_KEY + "," + TAG_NAME_KEY + " FROM " + USERS_KEY +
_WHERE_ + IDENTIFIER_KEY + "!=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to get the
potential members for a team
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard