lib/utilities/relationship-utils.js
function getIncludesArray (query) {
  var relationships = query.include.split(',')

  return relationships.map(function (val) {
    return val.trim()
  })
}
function getIncludesArray (query) {
  var relationships = query.include.split(',')

  return relationships.map(function (val) {
    return val.trim()
  })
}
function getIncludesArray ( query ) { var relationships = query . include . split ( ',' ) return relationships . map ( function ( val ) { return val . trim ( ) } ) }
Returns an array of relationships to include. Per JSON specification, they will
be in a comma-separated pattern.
@public
@memberOf {RelationshipUtils}
@param {Object} query
@return {Array}
Returns an array of relationships to include . Per JSON specification they will be in a comma - separated pattern .