Comments (2)
I tried using user.wallet_id = newWallet.id;
still nothing is updating. there is no change in the data in the user table.
from typeorm.
Faced a similar problem with the ManyToMany relationship. If a new entity is created and a lazy relationship is added immediately, no record is added to the JoinTable. If I save the parent entity and then load it again, then the relationship is created.
I noticed that when a new entity is created, the field is called the same as the field in the entity, but if the entity is loaded from the database, the promice prefix is added to the field.
from typeorm.
Related Issues (20)
- Invalid use of take in MySQL
- Retrieving additional relationships after an entity has been retrieved and instantiated seems an obvious, useful and easy feature to implement.
- Add support for better-sqlite3 v10
- Property metadata override does not work when extending an entity class
- Why did timezone become `SYSTEM` HOT 2
- format code
- Insert to db never resolved on Android with expo-sqlite
- CLI migration:generate supports React Native Driver
- Customize generated migrating scripts for license header and esmodules
- Query Builder's orderBy uses deprecated data type
- TypeORM error with webpack HOT 2
- If the database row has not been affected, Upsert Method Throw TypeORM Error
- FindConditions is missing in [email protected] HOT 1
- TypeORM's leftJoinAndSelect Function Fails to Properly Include Specified Fields in Query Results
- "error: unknown option -d" when running migration:generate
- All abstracted read operations result in a memory leak
- Entirely models creating everytime when running migration generate HOT 1
- ManyToOne with nested set failing
- RollupError: Unexpected character '@'
- Surprise in usage of findOneByOrFail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeorm.