code_corps v0.0.1 CodeCorps.Project.Query View Source
Contains queries for retrieving projects
Link to this section Summary
Functions
Finds and returns a single Project record based on a map of parameters
Returns a list of Project records based on the provided filter
Link to this section Functions
Finds and returns a single Project record based on a map of parameters.
If the map contains a project_slug key, retrieves record by slug.
If the map contains an id, retrieves by id.
Returns a list of Project records based on the provided filter.
If the filter contains a slug key, returns all projects for the specified
Organization.
If the filter does not contain a slug key, filters by optional params.