{ sailsit }

Sails Js Tutorials for Beginners and Forum

Have a Question?

If you have any question you can ask below or enter what you are looking for!

All posts tagged native

Raw Native Queries

1. Creating SailsJs Project Follow the below tutorial for setting up SailsJs Setting up sails project 2. Database Setup You can follow the below tutorial about setting up MySQL & MongoDb Setting up MySQL & MongoDB in SailsJs 3. Creating Models Use the below command to generate People model sails . . . Read more

Model Functions – Waterline | REST API

SailsJs comes with WATERLINE (ORM) pre-installed, WATERLINE provides some Model functions which are used for querying database We will check usage of these Model functions in this tutorial with example codes 1. Create a Model names Movies using below command sails generate model Movies copy the below code in api/models/Movies.js . . . Read more