I am looking for something like MongoDB implementation (shown below) to interact with the database.
Sample method defined in an interface (which extends MongoRepository interface):
public interface xyzTableData extends MongoRepository<primaryKey, primaryKeyDataType>{
public List<String> getAttrsList();
}
Any clue what would be the best way to implement it.
Aucun commentaire:
Enregistrer un commentaire