« first day (2565 days earlier)      last day (1552 days later) » 

01:58
  removeAllTokens() {
        return conn.query("DELETE FROM tokens WHERE user_id = $1", [this.id]);
    }

    static removeToken(token) {
        return conn.query("DELETE FROM tokens WHERE token = $1", [token]);
    }

    removeTokensOldThan(days) {
        return conn.query("DELETE FROM tokens WHERE user_id = $1 AND created <= CURRENT_DATE - INTERVAL $2 DAY", [this.id, days.toString()]);
    }
1 message moved from Android
 
3 hours later…
05:01
can you answer this question stackoverflow.com/questions/60022630/…
 
4 hours later…
09:46
1 message moved from HTML / CSS / WebDesign
 
11 hours later…
 
1 hour later…

« first day (2565 days earlier)      last day (1552 days later) »