devinivy / dogwater

A hapi plugin integrating Waterline ORM
MIT License
102 stars 14 forks source link

Accessing postgresql view? #57

Closed harsharastogi closed 7 years ago

harsharastogi commented 7 years ago

I understand, one can use request.collections. to access underlying sql table. But if one needs to access a table view in a query how do we do that?

devinivy commented 7 years ago

Honestly I'm not sure! I think this is really a question about waterline– maybe try posting in waterline / sails-mysql / sails-postgresql.