Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Rows Affected in Oracle Db Delete #3546

Closed
RobinsonLuiz opened this issue Jan 30, 2019 · 2 comments
Closed

Missing Rows Affected in Oracle Db Delete #3546

RobinsonLuiz opened this issue Jan 30, 2019 · 2 comments

Comments

@RobinsonLuiz
Copy link

RobinsonLuiz commented Jan 30, 2019

Issue type:

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

Database system/driver:

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

TypeORM version:

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

Steps to reproduce or a small repository showing the problem:

1- invoke queryRunner.manager.delete
2- the returned DeleteResult does not include any info at all. Expecting to include the number of affected rows.

I'm having trouble with queryRunner.manager.delete: the operation successfully removes the entity from the database, but DeleteResult does not contain count of entities deleted, it's just DeleteResult { raw: undefined }. This occurs with v0.2.9.

Why doesn't DeleteResult specify a property for the number of rows affected in cases of db is oracle?

@RobinsonLuiz RobinsonLuiz changed the title Missing Rows Affected in Oracle Db Missing Rows Affected in Oracle Db Delete Jan 30, 2019
@Kononnable
Copy link
Contributor

#3060 - similar issue but about UpdateResult

@imnotjames
Copy link
Contributor

Duplicate of #2415

@imnotjames imnotjames marked this as a duplicate of #2415 Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants