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
mongo-express - Web-based MongoDB admin interface, written with No... 2017-05-17
XCL-Charts - Android charting libraries (XCL-Charts is a free c... 2017-05-17
scrollMonitor - A simple and fast API to monitor elements as you s... 2017-05-16
XCDYouTubeKit - YouTube video player for iOS, tvOS and macOS 2017-05-16
rails-erd - Generate Entity-Relationship Diagrams for Rails ap... 2017-05-16
np - A better `npm publish` 2017-05-16
android - Smartisan open source code for full build.(repo ma... 2017-05-16
word_cloud - A little word cloud generator in Pytho 2017-05-16
mobileplayer-ios - 2017-05-16
Destroy-Windows-10-Spying - Destroy Windows Spying tool ... 2017-05-15

 Back to top