whereNotNull.js 185 B

123456
  1. 'use strict';
  2. module.exports = function whereNotNull() {
  3. var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  4. return this.where(key, '!==', null);
  5. };