Previously, I have used LinqPad a lot to run a few handy queries to @steemsql server. The @steemsql is a MSSQL server. However, I am more comfortable in MySQL and I found a good MySQL relational database – sbds.privex.io, the Steem Blockchain Database Service
To allow running MySQL queries in LinqPad, you need to Add Connection and click View more Drivers
Download and Enable the ÌQ driver`which supports MySQL, Sqlite and Oracle.
Getting back to the Add Connection, following the wizard to start a new MySQL connection.
Put in the access details for the Steem Blockchain Database Service in MySQL:
Then, we can write queries easily, by selecting the connection from sbds.privex.io.steem.steem:
1 2 3 4 5 6 7 8 9 | select * from sbds_tx_comments where author = 'justyy' order by timestamp desc limit 10 |
select * from sbds_tx_comments where author = 'justyy' order by timestamp desc limit 10
This MySQL queries the steem blockchain to return the last 10 posts (including comments)
You may also like: 怎么样通过 LinqPad 连接到 SBDS – MySQL?
–EOF (The Ultimate Computing & Technology Blog) —
loading...
Last Post: Simple but Powerful Simulated Annealing NPM Library (with Demo)
Next Post: PHP Job Searching using Zip-Recruiter API