> On 30 Jul 2015, at 11:30, Rouben Shekspir <
sheks...@gmail.com> wrote:
>
> Hi folks.
> Let's consider this situation.I have to mongo schemas.
>
> var ChildSchema = new Schema({
> name: String,
> place: {
> type: Schema.Types.ObjectId,
> ref: 'Parent',
> index: true,
> required: true
> }
> });
>
> var ParentSchema = new Schema({
> name: String
> });
>
> So now I want to get all ChildSchema documents thats parent name is 'bar'. Also I'm using skip,limit, so there will be no case for using manual filtering in Node(it will crash everything).
Hi,
This is the mailing list about Mongoose the web server, not the mongodb thing.
Best regards,
Max