Package io.quarkus.mongodb.panache
Interface PanacheMongoRepository<Entity>
- Type Parameters:
Entity
- The type of entity to operate on
- All Superinterfaces:
PanacheMongoRepositoryBase<Entity,
org.bson.types.ObjectId>
public interface PanacheMongoRepository<Entity>
extends PanacheMongoRepositoryBase<Entity,org.bson.types.ObjectId>
Represents a Repository for a specific type of entity
Entity
, with an ID type
of ObjectId
. Implementing this repository will gain you the exact same useful methods
that are on PanacheMongoEntityBase
. If you have a custom ID strategy, you should
implement PanacheMongoRepositoryBase
instead.-
Method Summary
Methods inherited from interface io.quarkus.mongodb.panache.PanacheMongoRepositoryBase
count, count, count, count, count, delete, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, find, find, findAll, findAll, findById, findByIdOptional, list, list, list, list, list, list, list, list, listAll, listAll, mongoCollection, mongoDatabase, persist, persist, persist, persist, persistOrUpdate, persistOrUpdate, persistOrUpdate, persistOrUpdate, stream, stream, stream, stream, stream, stream, stream, stream, streamAll, streamAll, update, update, update, update, update, update, update, update