You can use sails.controllers.yourControllerName.findStore()
the sails
global object has references to almost everything.
More Related Contents:
- await is only valid in async function
- Execute a command line binary with Node.js
- How do you get a list of the names of all files present in a directory in Node.js?
- npm – EPERM: operation not permitted on Windows
- Nodejs Event Loop
- Axios Http client – How to construct Http Post url with form params
- Simplest way to wait some asynchronous tasks complete, in Javascript?
- SyntaxError: Unexpected token function – Async Await Nodejs
- How do you send images to node js with Axios?
- How to use optional chaining in Node.js 12
- Upload files to Firebase Storage using Node.js
- How can I check that two objects have the same set of property names?
- Nullish coalescing assignment operator (??=) in NodeJS
- Uncaught ReferenceError: process is not defined
- Node.js Port 3000 already in use but it actually isn’t?
- How to build minified and uncompressed bundle with webpack?
- Mongoose subdocuments vs nested schema
- browserify error /usr/bin/env: node: No such file or directory
- The ‘this’ keyword behaves differently in Nodejs and browser
- How do you create custom asynchronous functions in node.js?
- How do I add validation to the form in my React component?
- SVG to Canvas with d3.js
- Sharing websocket across browser tabs?
- Node.js – use of module.exports as a constructor
- Node.JS How to set a variable outside the current scope
- Properly batch nested promises in Node
- NodeJS: How to get the server’s port?
- Use of require(lib) versus in Electron apps
- Weird behavior with Promise throwing “Unhandled promise rejection” error
- Testing asynchronous function with mocha