Package dev.karlkadak.backend.repository
Interface CityRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<City,
,Long> org.springframework.data.jpa.repository.JpaRepository<City,
,Long> org.springframework.data.repository.ListCrudRepository<City,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<City,
,Long> org.springframework.data.repository.PagingAndSortingRepository<City,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<City>
,org.springframework.data.repository.Repository<City,
Long>
@Repository
public interface CityRepository
extends org.springframework.data.jpa.repository.JpaRepository<City,Long>
Repository for interacting with the WeatherData table
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
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
-
Method Details
-
findByName
-
findAllByImportingDataTrue
- Returns:
- A
List
containing allCity
objects which haveimportingData
set asTRUE
-