Panache Repository
Functions
Counts the number of this type of entity in the database.
Counts the number of this type of entity matching the given query, with named parameters.
Counts the number of this type of entity matching the given query, with optional indexed parameters.
Delete the given entity from the database, if it is already persisted.
Delete all entities of this type matching the given query, with named parameters.
Delete all entities of this type matching the given query, with optional indexed parameters.
Delete an entity of this type by ID.
Find entities using a query, with named parameters.
Find entities using a query, with optional indexed parameters.
Find entities using a query and the given sort options, with named parameters.
Find entities using a query and the given sort options, with optional indexed parameters.
Find all entities of this type.
Find all entities of this type, in the given order.
Returns the current Mutiny.Session
Returns true if the given entity is persistent in the database. If yes, all modifications to its persistent fields will be automatically committed to the database at transaction commit time.
Find entities matching a query, with named parameters. This method is a shortcut for find(query, params).list().
Find entities matching a query, with optional indexed parameters. This method is a shortcut for find(query, params).list().
Find entities matching a query and the given sort options, with named parameters. This method is a shortcut for find(query, sort, params).list().
Find entities matching a query and the given sort options, with optional indexed parameters. This method is a shortcut for find(query, sort, params).list().
Find all entities of this type. This method is a shortcut for findAll().list().
Find all entities of this type, in the given order. This method is a shortcut for findAll(sort).list().
Persist all given entities.
Persist the given entity in the database, if not already persisted. Then flushes all pending changes to the database.
Update all entities of this type matching the given query, with named parameters.
Update all entities of this type matching the given query, with optional indexed parameters.