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

15 lines
336 B
JavaScript

import { Meteor } from 'meteor/meteor';
const Slides = new Mongo.Collection('slides2x');
if (Meteor.isServer) {
// types of queries for the slides:
// 1. meetingId
// 2. meetingId, presentationId
// 3. meetingId, presentationId, id
Slides._ensureIndex({ meetingId: 1, presentationId: 1, id: 1 });
}
export default Slides;