mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: update EntityManager.ts docs (#10875)
This commit is contained in:
parent
c27e4e83b5
commit
d54a554ba1
@ -1335,7 +1335,7 @@ export class EntityManager {
|
||||
if (isNaN(Number(value)))
|
||||
throw new TypeORMError(`Value "${value}" is not a number.`)
|
||||
|
||||
// convert possible embeded path "social.likes" into object { social: { like: () => value } }
|
||||
// convert possible embedded path "social.likes" into object { social: { like: () => value } }
|
||||
const values: QueryDeepPartialEntity<Entity> = propertyPath
|
||||
.split(".")
|
||||
.reduceRight(
|
||||
@ -1372,7 +1372,7 @@ export class EntityManager {
|
||||
if (isNaN(Number(value)))
|
||||
throw new TypeORMError(`Value "${value}" is not a number.`)
|
||||
|
||||
// convert possible embeded path "social.likes" into object { social: { like: () => value } }
|
||||
// convert possible embedded path "social.likes" into object { social: { like: () => value } }
|
||||
const values: QueryDeepPartialEntity<Entity> = propertyPath
|
||||
.split(".")
|
||||
.reduceRight(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user