blob: bd7aeef3cfce9171f387b14ad5a3d420f9b7f15f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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;
}
|