concept particular record in category sails

appears as: particular record, particular records
Sails.js in Action

This is an excerpt from Manning's book Sails.js in Action.

For example, if you use the User.find() method to find a particular record, this option tells Sails which database to search. The connection points to a dictionary that contains configuration information like the host, port, and credentials necessary to access the database. If any of that sounds unfamiliar, don’t worry—we’ll come back to it a few times throughout the book. Another model setting, migrate, designates how Sails should handle existing records in the database and whether or not to use auto-migration. As a final example, the schema setting allows you to enforce the use of a schema, even if the underlying database would allow you to proceed without one. This is particularly useful for schemaless databases like MongoDB.

The path /video/find gets all of the video records. If you want to find a particular record, you’ll use the :id parameter at the end of the path: /video/find/:id. In figure 4.7, notice how each video record has a unique id. This id is typically assigned by the database when the record is created. Let’s use the shortcut blueprint route to find a particular video record. Open your browser and navigate to http://localhost:1337/video/find/3. Your browser should look similar to figure 4.8.