Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rxjs operators on MongoObservable.Collection #101

Open
pierremzz opened this issue Aug 24, 2017 · 0 comments
Open

Rxjs operators on MongoObservable.Collection #101

pierremzz opened this issue Aug 24, 2017 · 0 comments

Comments

@pierremzz
Copy link

Hi there,

I am struggling to find a way to use the last() rxjs operator on some MongoObservable.Collection like this:

import 'rxjs/add/operator/last';

const NewsfeedCollection = new MongoObservable.Collection<NewsfeedCollectionModel>("newsfeed");

NewsfeedCollection.find({})
          .last()
          .subscribe(console.log);

There is no results logged, if some of you have met the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant