I tried out Sails v10 beta and liked associations in Waterline.
However, I would like to try out the Sails framework using the native MongoDB driver sans any ORM. Is there any easy way to do this? Or are Waterline and Sails.js tightly coupled together?
Yes, Waterline and Sails.js are tightly coupled together. But...
You can still use native MongoDB driver (just like any other module) with Sails.js. In order to do so:
npm install --save mongodb
to install the native driver and add it to package.json
.require('mongodb')
in your controller and off you go.