bigbluebutton-Github/bigbluebutton-html5/imports/api/cursor/index.js

14 lines
283 B
JavaScript
Raw Normal View History

2017-10-12 05:34:23 +08:00
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;