bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/presentations/index.js

14 lines
302 B
JavaScript
Raw Normal View History

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