lack of schemaName support #60
Comments
I'm having the same issue. You can fix this issue by bypassing |
Thanks for posting, @snovak7. I'm a repo bot-- nice to meet you! It has been 30 days since there have been any updates or new comments on this page. If this issue has been resolved, feel free to disregard the rest of this message. On the other hand, if you are still waiting on a patch, please:
Thanks so much for your help! |
Did you guys figure this out? It still writes to public schema, regardless of the schemaName set to the model. Am I missing anything? I'm looking at this http://stackoverflow.com/questions/24380902/database-schema-with-sails-js-and-sails-postgresql |
I only had to read from a custom schema table so I bypassed this issue by On Tue, Nov 3, 2015, 11:50 AM Diego Zuluaga notifications@github.com
|
Yes. Weird. My use case is slightly different. I'm trying to save a record, but still a pretty common one. I liked Waterline, but I don't know how to tell my customer you can only use public schema for storing data, which seems dangerous. To replicate the issue, you can find the code here: https://github.com/balderdashy/sails-postgresql/issues/207 |
When I had the issue, I tried going through the code to find the issue. While I wasn't able to debug the real problem, I was able to find a hack that works. |
Yeah. I just tried but it fails. It though created a table in public schema with name testmyapischema.user, instead of creating the table under testmyapischema. The model was set as: tableName : 'testmyapischema.user'. Thanks! |
I was digging through, and I can't query anything that has schema/database prefix.
The text was updated successfully, but these errors were encountered: