Last active
July 26, 2019 19:25
-
-
Save aronbalog/08bd7159602854ecb86389087c317481 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.demo.repository | |
import com.example.demo.data.Person | |
import org.springframework.data.mongodb.repository.MongoRepository | |
import org.springframework.stereotype.Repository | |
@Repository | |
interface PersonRepository : MongoRepository<Person, String> { | |
fun findByNameLike(name: String): List<Person> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment