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

Cannot use primaryKeys to pass into bulkDelete in Angular 11 #1364

Closed
mtruong09 opened this issue Jul 12, 2021 · 1 comment · Fixed by #1379
Closed

Cannot use primaryKeys to pass into bulkDelete in Angular 11 #1364

mtruong09 opened this issue Jul 12, 2021 · 1 comment · Fixed by #1379

Comments

@mtruong09
Copy link

I am writing a generic function in Angular 11 to delete records based on a where clause. However, I am unable to pass the results of a .where(where).primaryKeys() to a bulkDelete:

image

image

Based on the docs, it seems like I should be able to use the primary keys array as the parameter for the bulk delete?

Currently working around it by setting keys to any[] which seems to work in Chrome.

@dfahlander
Copy link
Collaborator

This is a typing issue. PR welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants