Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Get all the available client bases'
  3.  * @param  {Function} callback
  4.  */
  5. Repository.prototype.readAll = function(callback) {
  6.     'use strict'
  7.     manager.getConnection(function(connection, done) {
  8.         connection.query(SQL_PATTERNS.READ_ALL, [], function(err, clientBases) {
  9.             done(err, clientBases)
  10.         })
  11.     }, callback)
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement