{ 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 waterline

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

Waterline ORM – To use or not to use

We are a fan of sail.js but one thing which remained a mystery to us was whether to use the sails.js waterline ORM and not. During our development phase, we had encountered various problems such as processing latency, poor performance etc as our database grew. We analyzed the performance of . . . 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

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