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

Count not working with embedded models #3363

Closed
prtkkmrsngh opened this issue Apr 17, 2017 · 1 comment
Closed

Count not working with embedded models #3363

prtkkmrsngh opened this issue Apr 17, 2017 · 1 comment
Assignees
Labels

Comments

@prtkkmrsngh
Copy link

All api are returning count as 0 where relations type is embedsMany.

For example
In repository loopback-example-relations
following api returns count 0 after adding any number of emails.
http://localhost:3000/api/Customers/1/emails/count

@0candy
Copy link
Contributor

0candy commented Apr 21, 2017

There is a bug logged for relations embedsMany count not working.

Closing this as a dup.
Please follow issue here: loopbackio/loopback-datasource-juggler#258

@0candy 0candy closed this as completed Apr 21, 2017
@0candy 0candy added this to the Sprint 34 - Apex milestone Apr 21, 2017
@0candy 0candy self-assigned this Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants