node-go/packages/server/data/queries/move.js
2020-02-05 16:54:09 -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
}