diff options
author | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-15 14:13:03 +0200 |
---|---|---|
committer | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-15 14:13:03 +0200 |
commit | f67c703463c280bdb097cf176e812430f626cd7a (patch) | |
tree | fc1eadb778f300d2b1eab95df7be9e64a80c1bcb | |
parent | 5a457bfd34178348a2269d1b44d22c98b0fa9d01 (diff) |
gotta retrieve created at timestamp
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index 433c4f8..64d7b00 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ var mastodon = require('mastodon'); var pg = require('pg'); -var query = `SELECT id +var query = `SELECT id, created_at FROM public_toots WHERE favourites_count > ( SELECT avg(favourites_count) |