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

Order By #82

Open
JGSolutions opened this issue Sep 9, 2023 · 1 comment
Open

Order By #82

JGSolutions opened this issue Sep 9, 2023 · 1 comment

Comments

@JGSolutions
Copy link

How do you do an order by or limit type queries?

@joaqcid
Copy link
Member

joaqcid commented Sep 9, 2023

when you connect a query you can add those query params in the connection setup

this.ngxsFirestoreConnect.connect([ACTION], {
      to: () => this.FS.collection$(ref=> ref.where().orderBy().limit())
    });

hope that helps

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

2 participants