meteor-joins
meteor-joins copied to clipboard
Collection joins for Meteor
Hi, I have a collection called Messages and I'm trying to join it with Meteor.users to get the author name: ``` export const Messages = new Mongo.Collection('messages'); Messages.join(Meteor.users, '_author', 'author',...
hii , example my two collections 1-studentCollection => There is student information 2- reportCollection => There is report information . Relationship = reportCollection (student_id) ---> studentCollection (_id) join using ,I...
Just wanna ask how to limit fetched relations? for example if the relational table has 1000+ rows. for example: Projects ``` _id, name, ``` Meteor.users ``` _id, username, ``` ProjectMembers...
Hi, according to the [Meteor Docs#meteor_publish](http://docs.meteor.com/#/full/meteor_publish) the publish function may not return two cursors for the same collection Thus this [kitchen-cli](https://github.com/perak/kitchen-cli) definition snippet fails: ``` "collections": [ {name: "referenced"}, {name:...
My experiment with Meteor 1.4 with React doesn't seem to work. Here's a demo of relevant code (unrelated code in ellipsis): On the server side, for publishing: ``` javascript ......
api.use mongo required by Meteor 1.2
First pull request for discussion. Still contains debug logs and some formatting issues. 1) Add support to have joins the same collection where the field is. This is usefull so...
I want to find with reference collection like this ``` js Employee.find({company: {name: 'Abc'}}); ```