-
Notifications
You must be signed in to change notification settings - Fork 2k
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
getDatastore().sendNativeQuery returns error is not a function #4318
Comments
@tbowler Thanks for posting, we'll take a look as soon as possible. For help with questions about Sails, click here. If you’re interested in hiring @sailsbot and her minions in Austin, click here. |
Please note that I referenced issue #4310 but was unable to find any pertinent help. I tried the possible fix offered by @sgress454 but the issue remains unchanged. |
Further ReasearchSo I tried stepping down through all the revisions of Upgrade sails-hook-orn (Failed)I tried moving forward to The SolutionI had to downgrade The commit that cause the problem 1db6353dcd78c1abb18b3ab99edb538125927c51 |
@tbowler It sounds like you may have some mismatched dependency versions. Would you mind doing a full reset of your modules and trying again with the latest released
|
@sgress454 I tried the full reset with no change. I am sorry I referenced the wrong issue instead of #4271 it should have been #4310. The reason I opened a second issue was because that issue looked like a dead end, but if you want to reference my findings in that issue then by all means. I am for whatever makes sense and results in a working environment 😄 |
No problem -- I did confirm the issue, and have some fixes in place, but want to get @mikermcneil's eyeballs on them before merging since it touches more of his code. I'll keep you posted on #4310. |
Had the same problem with the |
Sails version: v1.0.0-46
Node version: v8.9.1
NPM version: v5.6.0
DB adapter name: sails-postgres
DB adapter version: 1.0.0-12
Operating system: macOS Sierra v10.12.6
The issue happens when trying to do a native query on a model. Activation is the name of my model
The model is simple
The error returned is always
The text was updated successfully, but these errors were encountered: