BVB Source Codes

waterline Show index.js Source code

Return Download waterline: download index.js Source code - Download waterline Source code - Type:.js
  1. /**
  2.  * Export model methods
  3.  *
  4.  * FUTURE: require these from where they're actually getting attached
  5.  */
  6.  
  7. module.exports = {
  8.  
  9.   // DQL
  10.   find: require('./find'),
  11.   findOne: require('./find-one'),
  12.   findOrCreate: require('./find-or-create'),
  13.   stream: require('./stream'),
  14.   count: require('./count'),
  15.   sum: require('./sum'),
  16.   avg: require('./avg'),
  17.  
  18.   // DML
  19.   create: require('./create'),
  20.   createEach: require('./create-each'),
  21.   update: require('./update'),
  22.   destroy: require('./destroy'),
  23.   addToCollection: require('./add-to-collection'),
  24.   removeFromCollection: require('./remove-from-collection'),
  25.   replaceCollection: require('./replace-collection'),
  26.  
  27.   // Misc.
  28.   validate: require('./validate'),
  29.  
  30. };
  31.  
downloadindex.js Source code - Download waterline Source code
Related Source Codes/Software:
notepad-plus-plus - Notepad++ official repository h... 2017-01-10
che - Eclipse Che: Next-generation Eclipse IDE. Open sou... 2017-01-10
Gource - oftware version control visualization ... 2017-01-10
FDFullscreenPopGesture - A UINavigationController's category to enable full... 2017-01-10
node-style-guide - A guide for styling your node.js / JavaScript code... 2017-01-09
Workerman - An asynchronous event driven PHP framework for eas... 2017-01-10
structor - An advanced visual editor for React components ... 2017-01-10
golearn - Machine Learning for Go 2017-01-10
poisontap - Exploits locked/password protected computers over ... 2017-01-10
kcptun - A Simple UDP Tunnel Based On KCP 2017-01-11
GoSublime - A Golang plugin collection for SublimeText **3**, ... 2017-02-19
awesome-emacs - A community driven list of useful Emacs packages, ... 2017-02-19
RKNotificationHub - Make any UIView a full fledged notification center 2017-02-19
vimr - Project VimR - Refined Neovim experience for macOS... 2017-02-19
vue-admin - Vue Admin Panel Framework, Powered by Vue 2.0 and ... 2017-02-19
dev-setup - Mac OS X development environment setup: Easy-to-un... 2017-02-19
CMPopTipView - Custom UIView for iOS that pops up an animated "bu... 2017-02-19
git-recipes - Git for recipes in Chinese. The high quality of Gi... 2017-02-19
CLNDR - 2017-02-19
OptiKey - OptiKey - Full computer control and speech with yo... 2017-02-19

 Back to top