We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On this profiles GET route, add multiple search params to be able to search for users. You should be able to search by user's names (first, middle, last) and phone number. You should also include pagination.
Here are the query params to include
search
limit
offset
regex
Your return should include these fields
total
count
profiles
You should be able to use mongoose tools to skip, search, and query by regex. You can look here and here for some inspiration and ideas.
The text was updated successfully, but these errors were encountered:
thaneesh-babu
Successfully merging a pull request may close this issue.
On this profiles GET route, add multiple search params to be able to search for users. You should be able to search by user's names (first, middle, last) and phone number. You should also include pagination.
Here are the query params to include
search
, this should be a text field with search stufflimit
shows how many valid objects to returnoffset
shows how much to offset by in paginationregex
= true if its enabled, decides whether the search term uses regex or notYour return should include these fields
offset
shows the current offsettotal
total number of objects that matchcount
number of objects returned in this queryprofiles
actual profile objects of usersYou should be able to use mongoose tools to skip, search, and query by regex. You can look here and here for some inspiration and ideas.
The text was updated successfully, but these errors were encountered: