MongoCrudRestaurantRepository

@MongoRepository
sealed interface MongoCrudRestaurantRepository : CrudRepository<RestaurantDocument, String>

Functions

Link copied to clipboard
abstract fun count(): Long
Link copied to clipboard
abstract fun delete(@NonNull entity: @NonNull RestaurantDocument?)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(@NonNull entities: @NonNull Iterable<out RestaurantDocument?>?)
Link copied to clipboard
abstract fun deleteById(@NonNull id: @NonNull String?)
Link copied to clipboard
abstract fun existsById(@NonNull id: @NonNull String?): Boolean
Link copied to clipboard
@NonNull
abstract fun findAll(): @NonNull List<RestaurantDocument?>?
Link copied to clipboard
@NonNull
abstract fun findById(@NonNull id: @NonNull String?): @NonNull Optional<RestaurantDocument?>?
Link copied to clipboard
@NonNull
abstract fun <S : RestaurantDocument?> save(@NonNull entity: @NonNull S?): @NonNull S?
Link copied to clipboard
@NonNull
abstract fun <S : RestaurantDocument?> saveAll(@NonNull entities: @NonNull Iterable<S?>?): @NonNull List<S?>?
Link copied to clipboard
@NonNull
abstract fun <S : RestaurantDocument?> update(@NonNull entity: @NonNull S?): @NonNull S?
Link copied to clipboard
@NonNull
abstract fun <S : RestaurantDocument?> updateAll(@NonNull entities: @NonNull Iterable<S?>?): @NonNull List<S?>?