function doPostWriters(req, res, next, props) {
  const params = req.swagger.params;
  const toPost = params.queryBody.value;
  const options = {};
  options.where = u.whereClauseForNameInArr(toPost);
  userProps.model.findAll(options)
  .then((usrs) =>
    doPostAssoc(req, res, next, props, props.belongsToManyAssoc.users, usrs))
  .catch((err) => u.handleError(next, err, props.modelName));
} // doPostWriters
/**
 * Add writers (user association) to the model.
 *
 * @param {IncomingMessage} req - The request object
 * @param {ServerResponse} res - The response object
 * @param {Function} next - The next middleware function in the stack
 * @param {Module} props - The module containing the properties of the
 *  resource type.
 */
Add writers (user association) to the model.
@param {IncomingMessage} req - The request object
@param {ServerResponse} res - The response object
@param {Function} next - The next middleware function in the stack
@param {Module} props - The module containing the properties of the
resource type.
Add writers ( user association ) to the model . @param { IncomingMessage } req - The request object @param { ServerResponse } res - The response object @param { Function } next - The next middleware function in the stack @param { Module } props - The module containing the properties of the resource type .
function doPostWriters(req, res, next, props) {
  const params = req.swagger.params;
  const toPost = params.queryBody.value;
  const options = {};
  options.where = u.whereClauseForNameInArr(toPost);
  userProps.model.findAll(options)
  .then((usrs) =>
    doPostAssoc(req, res, next, props, props.belongsToManyAssoc.users, usrs))
  .catch((err) => u.handleError(next, err, props.modelName));
} 
function doPostWriters ( req , res , next , props ) { const params = req . swagger . params ; const toPost = params . queryBody . value ; const options = { } ; options . where = u . whereClauseForNameInArr ( toPost ) ; userProps . model . findAll ( options ) . then ( ( usrs ) => doPostAssoc ( req , res , next , props , props . belongsToManyAssoc . users , usrs ) ) . catch ( ( err ) => u . handleError ( next , err , props . modelName ) ) ; }
Add writers (user association) to the model.
Add writers ( user association ) to the model .
// doPostWriters