Skip to content

Latest commit

 

History

History
executable file
·
19 lines (15 loc) · 669 Bytes

getReturnUsers-doc.md

File metadata and controls

executable file
·
19 lines (15 loc) · 669 Bytes

getReturnUsers.js ⇒ Promise.<Array>

returns a list of new users from the date givin

Returns: Promise.<Array> - list of returning users on the give day
Author: Jimmy Doughten https://github.com/dough10

Param Type Description
mongodb Object database connection object
date Number the date of this month to get user list for

Example (Example usage of getReturnusers() Functions.)

getReturnUsers(mongodb, 13).then(list => {
 // console.log(list);  = returning users on the 13th 
});