yumechi-no-kuni/src/api/models/othello-matching.ts

12 lines
261 B
TypeScript
Raw Normal View History

2018-03-06 20:40:40 -06:00
import * as mongo from 'mongodb';
import db from '../../db/mongodb';
const Matching = db.get<IMatching>('othello_matchings');
export default Matching;
export interface IMatching {
_id: mongo.ObjectID;
parent_id: mongo.ObjectID;
child_id: mongo.ObjectID;
}