1 2 3 4 5 6 7 8 9 10 11 | 2x 2x 2x | export default class RethinkDBHashDriver { constructor(dbOptions, userTableName) { // RethinkDBHashDriver takes just the instance as the options object this.r = dbOptions; this.users = this.r.table(userTableName); } } |