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

14 lines
270 B
JavaScript
Raw Normal View History

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