-
Notifications
You must be signed in to change notification settings - Fork 7
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
Model.count() is not working #3
Comments
Hello @cope, I just published a fix to this issue, can you update your package to the latest version? Regards! |
I use 0.3.0 |
I uninstalled and reinstalled, and the error is now different: |
I found this on stackoverflow. I will trz to figure out in the oracle-adapter code why it works... |
I think I found the place where to fix it, looking further. |
Ah... I think you need to make a new npm release... After uninstalling and reinstalling, my adapter.js still has the count method, even though here in the repository, the adapter.js file does not have it anymore. Once I removed the count method from the adapter.js file, the count worked :) So, I am 99% sure that all we need is a 0.3.2 release for npm :) |
@cope, can you try to update again? The latest version is 0.3.2, the package in the npmjs was outdated... my bad 😄 |
Running npm update :) One sec... |
It works!!! :) |
Hey @lucianmachado,
As I mentioned in issue #2 we recently switched from sails-oracle-db to sails-oracle-database, and that now casues the Model.count() method to fail :(
This in turn ruins our paging functionality, of course...
Do you maybe have an idea why the count fails? :(
The text was updated successfully, but these errors were encountered: