File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/net/onelitefeather/vulpes/api/repository Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import io .micronaut .data .annotation .Query ;
4
4
import io .micronaut .data .annotation .Repository ;
5
+ import io .micronaut .data .model .Pageable ;
5
6
import io .micronaut .data .repository .PageableRepository ;
6
7
import net .onelitefeather .vulpes .api .model .sound .SoundFileSource ;
7
8
@@ -22,9 +23,10 @@ public interface SoundFileSourceRepository extends PageableRepository<SoundFileS
22
23
* Retrieves the sound file sources associated with a sound event by its ID.
23
24
*
24
25
* @param id the unique identifier of the sound event
26
+ * @param pageable the pagination information
25
27
* @return a list of sound file sources associated with the sound event
26
28
*/
27
29
@ Query ("SELECT f FROM sound_data f WHERE f.soundEvent.id = :id" )
28
- List <SoundFileSource > findSoundFileSourcesBySoundEvent (UUID id );
30
+ List <SoundFileSource > findSoundFileSourcesBySoundEvent (UUID id , Pageable pageable );
29
31
30
32
}
You can’t perform that action at this time.
0 commit comments