An drop-in replacement for LevelDOWN that works in mysql
mysqlDOWN is a mad science experience building a mysql-wrapper around leveldown, so that it can be used in levelup. It's also a way for me to remember how to write sql.
Really unstable. I'm not a pro sql-guy, so lot's of things might be really badly done. But hey, it sort of works... So that's badass.
var MysqlDOWN = require'./'levelup = require'levelup'return locationdb = levelup'mysql://user:password@host:port/database/table'db: factorydbput'beep' 'boop'dbput'foo' 'bar'dbcreateReadStreamon'data' console.logon'close' console.log'it is over now'