Initialize UsersRepository
The injected InternshipProposalModel model
The collection name, used also as controller route name
The injected InternshipProposalModel model
The mongoose model for this repository
Creates a new item
The item to create
Delete an existing element
The element identifier
Return all elements matching the specified query
Return a the first element matching the specified query
The query. If not specified return the first collection element
Return the item with specified id if exists, null otherwise.
The item identifier (id property of [[BaseEntity]])
Return the number of available places for an internship
The internship id
Update only the specified property of the item
The item to update
Create or update an element
Generated using TypeDoc
The InternshipsProposalsRepository repository