Skip to content

Commit

Permalink
simplify the doc
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
  • Loading branch information
Pierre Tardy committed Dec 14, 2014
1 parent b31435f commit 672da02
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions master/docs/developer/rtype-build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Builds
This path lists builds, sorted by ID.

.. note::

To get the list of running builds, use the resultspec filter ``complete=false``, which is implemented efficiently.

.. bb:rpath:: /build/:buildid
:pathkey integer buildid: the ID of the build
Expand All @@ -69,14 +73,6 @@ Builds

This path selects builds for a given buildrequest.

Optimised Queries
-----------------

All :ref:`Data_API` filters are not optimized. Most of the queries are implemented at the data api level, and thus manipulate full list from db. Some others are optimised with appropriate sql where statement generation.

Here is the list of queries that are optimized at the db level:

* Get list of builds based on completion. Use resultspec filter ``complete=true`` or ``complete=false``


Update Methods
Expand Down

0 comments on commit 672da02

Please sign in to comment.