code_corps v0.0.1 CodeCorps.Tasks.Query View Source

Holds queries used to retrieve a list of, or a single Task record from the database, using a provided map of parameters/filters.

Link to this section Summary

Functions

Returns a Task record retrived using a set of parameters

Returns a list of Task records, filtered by a map of parameters

Link to this section Functions

Returns a Task record retrived using a set of parameters.

This set can be

  • a combination of project_id and number
  • a combination of task_list_id and number
  • an id

Returns a list of Task records, filtered by a map of parameters.

Accepted parameters are a project_id, or a list of comma separated task_list_ids, combined with a status.

The records are returned ordered by the :order field, ascending.