change Profile Pic

@Modifying(clearAutomatically = true )
@Query(value = ""UPDATE " + USERS_KEY + " SET " + PROFILE_PIC_KEY + "=:" + PROFILE_PIC_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun changeProfilePic(@Param(value = "profile_pic") profilePicUrl: String, @Param(value = "id") id: String)

Method to execute the query to change the profile pic of the EquinoxUser

Parameters

profilePicUrl

: the profile pic formatted as url

id

: the identifier of the user