We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf0e0b commit adfb6e5Copy full SHA for adfb6e5
src/main/java/net/onelitefeather/vulpes/api/repository/SoundFileSourceRepository.java
@@ -27,7 +27,8 @@ public interface SoundFileSourceRepository extends PageableRepository<SoundFileS
27
* @param pageable the pagination information
28
* @return a list of sound file sources associated with the sound event
29
*/
30
- @Query("SELECT f FROM sound_data f WHERE f.soundEvent.id = :id")
+ @Query(value = "SELECT f FROM sound_data f WHERE f.soundEvent.id = :id",
31
+ countQuery = "SELECT count(f) FROM sound_data f WHERE f.soundEvent.id = :id")
32
Page<SoundFileSource> findSoundFileSourcesBySoundEvent(UUID id, Pageable pageable);
33
34
}
0 commit comments