TTUSDC / CPCEEDWebApp

We moved
https://github.com/TTUSDC/cpceed-webapp
2 stars 1 forks source link

Query parameters for server operations #58

Open asclines opened 7 years ago

asclines commented 7 years ago

We need a single parameter that can be passed into a getAll*(..) method that handles limiting or otherwise specifying requirements on what data should be returned.

Note: At least for now, this is not for sorting purposes, just querying the database purposes.

What requests do we have? example:

getAllUsers(query, (err, users) => {
//Stuff...
});

Generic query values

User specific

mariots commented 7 years ago

@asclines Is this query limits for all kinds data? For instance, users, activities, and others?

asclines commented 7 years ago

@mariots I updated the issue description to clarify that.