UNPKG

reshine

Version:

Let's take the sunshine path with RethinkDB

9 lines (7 loc) 190 B
import r from 'rethinkdb'; export default (id, content) => tableName => dbName => connection => r.db(dbName) .table(tableName) .get(id) .update(content) .run(connection);