lib/waterline/utils/query/get-query-modifier-methods.js
function(values) {

    if (this._wlQueryInfo.method === 'create') {
      console.warn(
        'Deprecation warning: In future versions of Waterline, the use of .set() with .create()\n'+
        'will no longer be supported.  In the past, you could use .set() to provide the initial\n'+
        'skeleton of a new record to create (like `.create().set({})`)-- but really .set() should\n'+
        'only be used with .update().  So instead, please change this code so that it just passes in\n'+
        'the initial new record as the first argument to `.create().`'
      );
      this._wlQueryInfo.newRecord = values;
    }
    else if (this._wlQueryInfo.method === 'createEach') {
      console.warn(
        'Deprecation warning: In future versions of Waterline, the use of .set() with .createEach()\n'+
        'will no longer be supported.  In the past, you could use .set() to provide an array of\n'+
        'new records to create (like `.createEach().set([{}, {}])`)-- but really .set() was designed\n'+
        'to be used with .update() only. So instead, please change this code so that it just\n'+
        'passes in the initial new record as the first argument to `.createEach().`'
      );
      this._wlQueryInfo.newRecords = values;
    }
    else {
      this._wlQueryInfo.valuesToSet = values;
    }

    return this;

  }
function(values) {

    if (this._wlQueryInfo.method === 'create') {
      console.warn(
        'Deprecation warning: In future versions of Waterline, the use of .set() with .create()\n'+
        'will no longer be supported.  In the past, you could use .set() to provide the initial\n'+
        'skeleton of a new record to create (like `.create().set({})`)-- but really .set() should\n'+
        'only be used with .update().  So instead, please change this code so that it just passes in\n'+
        'the initial new record as the first argument to `.create().`'
      );
      this._wlQueryInfo.newRecord = values;
    }
    else if (this._wlQueryInfo.method === 'createEach') {
      console.warn(
        'Deprecation warning: In future versions of Waterline, the use of .set() with .createEach()\n'+
        'will no longer be supported.  In the past, you could use .set() to provide an array of\n'+
        'new records to create (like `.createEach().set([{}, {}])`)-- but really .set() was designed\n'+
        'to be used with .update() only. So instead, please change this code so that it just\n'+
        'passes in the initial new record as the first argument to `.createEach().`'
      );
      this._wlQueryInfo.newRecords = values;
    }
    else {
      this._wlQueryInfo.valuesToSet = values;
    }

    return this;

  }
function ( values ) { if ( this . _wlQueryInfo . method === 'create' ) { console . warn ( 'Deprecation warning: In future versions of Waterline, the use of .set() with .create()\n' + 'will no longer be supported.  In the past, you could use .set() to provide the initial\n' + 'skeleton of a new record to create (like `.create().set({})`)-- but really .set() should\n' + 'only be used with .update().  So instead, please change this code so that it just passes in\n' + 'the initial new record as the first argument to `.create().`' ) ; this . _wlQueryInfo . newRecord = values ; } else if ( this . _wlQueryInfo . method === 'createEach' ) { console . warn ( 'Deprecation warning: In future versions of Waterline, the use of .set() with .createEach()\n' + 'will no longer be supported.  In the past, you could use .set() to provide an array of\n' + 'new records to create (like `.createEach().set([{}, {}])`)-- but really .set() was designed\n' + 'to be used with .update() only. So instead, please change this code so that it just\n' + 'passes in the initial new record as the first argument to `.createEach().`' ) ; this . _wlQueryInfo . newRecords = values ; } else { this . _wlQueryInfo . valuesToSet = values ; } return this ; }
Add values to be used in update or create query

@param {Dictionary} values
@returns {Query}
Add values to be used in update or create query