UserEntityRepository

@MongoRepository
interface UserEntityRepository : GenericRepository<UserEntity, String>

Functions

Link copied to clipboard
abstract fun deleteAll()
Link copied to clipboard
abstract fun deleteByUsername(username: String)
Link copied to clipboard
abstract fun findAll(): List<UserEntity>
Link copied to clipboard
abstract fun findByRefreshToken(refreshToken: String): UserEntity?
Link copied to clipboard
abstract fun findByUsername(username: String): UserEntity?
Link copied to clipboard
abstract fun save(entity: UserEntity)
Link copied to clipboard
abstract fun updateByUsername(username: String, entity: UserEntity)