question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

repository.update not updating deeper level data

See original GitHub issue

Issue type:

[ ] question [X] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [X] postgres [ ] sqlite [ ] sqljs [ ] react-native

TypeORM version:

[X] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Nikhil00712commented, Dec 12, 2018

@pleerock please provide solution for updating child table , or any link to understand the solution.

1reaction
pleerockcommented, May 17, 2018

using repository.update you can only update a first-level data, e.g. only entity you are updating.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generic repository to update an entire aggregate
Julie Lerman gives a nice way to deal with how to update an entire aggregate in ... Ensure your data layer only returns...
Read more >
Force Repository Update with Maven
In this tutorial, we'll learn how to force-update a local Maven repository when it becomes corrupted. To accomplish this, we'll use a ...
Read more >
Hibernate's persist(), save(), merge() and update()
Persisting A New Entity Using persist Or save. When you create a new entity object, it's in the transient lifecycle state. It does...
Read more >
Updating dataset properties | BigQuery
Update dataset descriptions; Update default table expiration times; Update default ... You can set a default table expiration time at the dataset level, ......
Read more >
Updating a service using the classic console
Amazon ECS does not automatically update the security groups associated with Elastic Load Balancing load balancers or Amazon ECS container instances. To update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found