docs: update EntityManager.ts docs (#10875)

This commit is contained in:
Ikko Eltociear Ashimine 2025-01-06 05:46:31 +09:00 committed by GitHub
parent c27e4e83b5
commit d54a554ba1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(