- Preparing search index...
- The search index is not available
docs.hg.fi
Methods
Static Private _countByProperty
- _countByProperty<T, ID>(self: CrudRepository<T, ID>, propertyName: string, propertyValue: any, entityMetadata: EntityMetadata): Promise<number>
-
Parameters
-
-
propertyName: string
-
propertyValue: any
-
Returns Promise<number>
Static Private _deleteAllByProperty
- _deleteAllByProperty<T, ID>(self: CrudRepository<T, ID>, propertyName: string, propertyValue: any, entityMetadata: EntityMetadata): Promise<void>
-
Parameters
-
-
propertyName: string
-
propertyValue: any
-
Returns Promise<void>
Static Private _existsByProperty
- _existsByProperty<T, ID>(self: CrudRepository<T, ID>, propertyName: string, propertyValue: any, entityMetadata: EntityMetadata): Promise<boolean>
-
Parameters
-
-
propertyName: string
-
propertyValue: any
-
Returns Promise<boolean>
Static Private _findAllByProperty
- _findAllByProperty<T, ID>(self: CrudRepository<T, ID>, propertyName: string, propertyValue: any, entityMetadata: EntityMetadata): Promise<T[]>
-
Parameters
-
-
propertyName: string
-
propertyValue: any
-
Returns Promise<T[]>
Static Private _findByProperty
- _findByProperty<T, ID>(self: CrudRepository<T, ID>, propertyName: string, propertyValue: any, entityMetadata: EntityMetadata): Promise<T>
-
Parameters
-
-
propertyName: string
-
propertyValue: any
-
Returns Promise<T>
Static Private _getCamelCaseName
- _getCamelCaseName(propertyName: string): string
-
Returns string
Static generateDefaultMethods
- generateDefaultMethods<T, ID, RepositoryType>(proto: any, entityMetadata: EntityMetadata): void
-
Returns void
The implementation for
Repository.countBy{PropertyName} : Promise<number>.