This differential refactors all replace and update queries not to use ORM.
Details
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/cpp/CommonCpp/DatabaseManagers/entities/EntityQueryHelpers.h | ||
---|---|---|
113 โ | (On Diff #35797) | shouldn't we free the error? |
native/cpp/CommonCpp/DatabaseManagers/entities/Thread.h | ||
70 โ | (On Diff #35797) | I would create couple of functions bindSQLParam(..) with SQL query, index and different types of value and add implementation for each value - this should make it more reusable |
I think the wording here may be a bit confusing. In my experience, 'cancel' typically means close the alert, and there's another option like 'confirm' or something that will mean you're ok with discarding changes.
Here it seems like 'cancel' means we're ok with discarding changes. Not sure if it's just me though (cc @ted)