Repository interface for noSQL database