bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/cursor/index.js
2017-09-07 16:41:03 -07:00

14 lines
283 B
JavaScript

import { Meteor } from 'meteor/meteor';
const Cursor = new Mongo.Collection('cursor2x');
if (Meteor.isServer) {
// types of queries for the cursor:
// 1. meetingId (clear)
// 2. meetingId, userId
Cursor._ensureIndex({ meetingId: 1, userId: 1 });
}
export default Cursor;