• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sails.js in action: other ORMs?

 
Sartaj Gill
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to know that are you able to use any other ORM with SAILS.JS instead of Waterline? Also how detailed is the book on the framework, are there any online training materials offered as well? Thanks
 
Pedro Freitas
Greenhorn
Posts: 4
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. You are free to not use Waterline and in the most recent versions of Sails.js, if you want to swap it you need implement/use a ORM hook based on Waterline ORM hook. There are implementations for offshore and mongoose in NPM. Documentation about configuration of the framework is available here.

Most sails documentation can be found in here and it is maitained in here meaning that you can contribute if you find any typo or something not well explained.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!