Interface DiscordServerRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<DiscordServer,String>, org.springframework.data.mongodb.repository.MongoRepository<DiscordServer,String>, org.springframework.data.repository.PagingAndSortingRepository<DiscordServer,String>, org.springframework.data.repository.query.QueryByExampleExecutor<DiscordServer>, org.springframework.data.repository.Repository<DiscordServer,String>

@Repository public interface DiscordServerRepository extends org.springframework.data.mongodb.repository.MongoRepository<DiscordServer,String>
Interface that inherits the MongoRepository template interface
Can be used to create a Discord server repository that uses MongoDB backends such as Atlas to store each Discord server's preferences
  • Method Summary

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, save

    Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository

    findAll, findAll, findAll, findAll, insert, insert, saveAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne