code: function getCollection(docdbClient, nodeContext) {
      nodeContext.log(`Getting collection:\n${collectionName}\n`);
      var colldef = {id : collectionName};
      return new Promise((resolve, reject) => {
          docdbClient.readCollection(collectionUrl, (err, result) => {
              if (err) {
                  if (err.code == HttpStatusCodes.NOTFOUND) {
                      docdbClient.createCollection(databaseUrl, colldef, { offerThroughput: 400 }, (err, created) => {
                          if (err) reject(err)
                          else resolve(created);
                      });
                  } else {
                      reject(err);
                  }
              } else {
                  resolve(result);
              }
          });
      });
  }
docs: ---------------------------------------------------------- COLLECTIONS--------------------------------------------------------------------