{ 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 in Models

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

One to Many Association

In this tutorial we will be covering One-to-One associations in SailsJs Models 1. Creating SailsJs Project Follow the below tutorial for setting up SailsJs Setting up sails project 2. MySQL Database Setup We will be using MySQL DB for this tutorial. You can follow the below tutorial about setting up . . . Read more

Sails – One to Many Association

In this tutorial we will be covering One-to-One associations in SailsJs Models 1. Creating SailsJs Project Follow the below tutorial for setting up SailsJs Setting up sails project 2. MySQL Database Setup We will be using MySQL DB for this tutorial. You can follow the below tutorial about setting up . . . Read more

One to One Association

In this tutorial we will be covering One-to-One associations in SailsJs Models 1. Creating SailsJs Project Follow the below tutorial for setting up SailsJs Setting up sails project 2. MySQL Database Setup We will be using MySQL DB for this tutorial. You can follow the below tutorial about setting up . . . 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