Forked from Netherdrake/gist:a844ebf771c96929bee8ddb446d1cfa6
Created
March 10, 2017 12:12
-
-
Save ausbitbank/f125e52069919ce7575a056851a94636 to your computer and use it in GitHub Desktop.
SteemData Sample Queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// lets see whats in block 9508058 | |
db.getCollection('Operations').find({'block_num': 9508058}) | |
// operation types | |
db.getCollection('Operations').distinct('type', {}) | |
// find latest payments to poloniex | |
db.getCollection('Operations').find({type: 'transfer', to: 'poloniex'}).sort({timestamp:-1}) | |
// its me :) | |
db.getCollection('Accounts').find({'name':'furion'}) | |
// highest paid post of all time | |
db.getCollection('Posts').find().sort({'total_payout_reward.amount': -1}).limit(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment