9 lines
301 B
Kotlin
9 lines
301 B
Kotlin
package nl.voidcorp.discord.storage
|
|
|
|
import org.springframework.data.jpa.repository.JpaRepository
|
|
import java.time.LocalDateTime
|
|
|
|
interface MessageRepo : JpaRepository<MessageStore, Long> {
|
|
fun findByMsgId(id: Long): MessageStore?
|
|
fun findByNowBefore(time: LocalDateTime): List<MessageStore>
|
|
} |