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

14 lines
268 B
JavaScript

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