node-go/server/data/queries/move.js
2020-01-20 23:19:22 -08:00

11 lines
No EOL
207 B
JavaScript

const knex = require('../db');
const findGameRecord = async (gameId) => {
return await knex('move')
.where({'game': gameId, 'game_record': true})
.select('*');
}
module.exports = {
findGameRecord
}