package com.dowstats.data.repositories

import com.dowstats.data.entities.unit.DowUnit
import com.dowstats.data.entities.Race
import com.dowstats.data.entities.ability.Ability
import com.dowstats.data.entities.ability.AbilityEnvironment
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.*

interface AbilityEnvironmentRepository : CrudRepository<AbilityEnvironment, Long> {

    fun findAllByModId(modId: Long): List<AbilityEnvironment>

    fun deleteAllByModId(modId: Long)
}