method BaseRepository.prototype.create Since 0.1.0 BaseRepository.prototype.create(data: Partial<Entity>): Promise<Entity> Insert a new entity. Parameters data: Partial<Entity> Partial entity (at minimum the required fields) Return Type Promise<Entity> The persisted entity (with generated fields populated)