mikro-orm
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -5,4 +5,4 @@ import { FilterQuery } from 'mongodb'; | ||
export declare class EntityRepository<T extends BaseEntity> { | ||
private em; | ||
private entityName; | ||
protected em: EntityManager; | ||
protected entityName: string; | ||
constructor(em: EntityManager, entityName: string); | ||
@@ -9,0 +9,0 @@ persist(entity: T, flush?: boolean): Promise<void>; |
@@ -7,4 +7,4 @@ import { FilterQuery } from 'mongodb'; | ||
constructor(private em: EntityManager, | ||
private entityName: string) { } | ||
constructor(protected em: EntityManager, | ||
protected entityName: string) { } | ||
@@ -11,0 +11,0 @@ async persist(entity: T, flush = false): Promise<void> { |
{ | ||
"name": "mikro-orm", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Simple typescript mongo ORM for node.js based on data-mapper, unit-of-work and identity-map patterns", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114912