node-go/packages/server/data/queries/move.js

11 lines
207 B
JavaScript
Raw Permalink Normal View History

2020-01-21 07:19:22 +00:00
const knex = require('../db');
const findGameRecord = async (gameId) => {
return await knex('move')
.where({'game': gameId, 'game_record': true})
.select('*');
}
module.exports = {
findGameRecord
}