Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     /**
  3.      * Check if an attribute value exists for a specific field in a specific partition
  4.      *
  5.      * @param   {object}    data                Object with partition/field/value
  6.      * @param   {function}  callback            Callback to fire (or a promise is returned)
  7.      * @var     {string}    data.partitionId    Partition ID to query
  8.      * @var     {Mixed}     data.value          Value to check
  9.      * @var     {string}    data.field          Field being validated
  10.      * @returns {Promise}
  11.      */
  12.     assetSchema.statics.doesAttrValueExist = function( data, callback ) {
  13.  
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement