SHARE
TWEET

Untitled

a guest Jul 15th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     try {
  2.       const query = 'EXEC GetForecastDailyByUserID @USERID = 133 WITH RESULT SETS (fieldId INT, date DateTime, pop DECIMAL(4,1), tMax DECIMAL(4,1), tMIN( DECIMAL(4,1), windSpd DECIMAL(4,1), icon VARCHAR(20)';
  3.       const pool = await db.poolPromise;
  4.       const result = await pool.query(query);
  5.       return done(null, result);
  6.     } catch (error) {
  7.       return done([error, { UserID: UserID }, 'GetForecastDailyByUserID']);
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top