Skip to content

Commit

Permalink
Linked table header to api docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 1, 2012
1 parent 9f75dee commit 194eb63
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions doc/datastore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ The datastore_create API endpoint allows a user to post JSON data to be stored a
See :ref:`fields` and :ref:`records` for details on how to lay out records.



datastore_delete
~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -136,6 +137,8 @@ insert
update
Update only. Exception will occur if the key that should be updated does not exist. Requires unique key.

.. _datastore_search:

datastore_search
~~~~~~~~~~~~~~~~

Expand All @@ -155,6 +158,8 @@ The JSON for searching must be in the following form::
sort: # ordered list of field names as, eg: "fieldname1, fieldname2 desc"
}

.. _datastore_search_sql:

datastore_search_sql
~~~~~~~~~~~~~~~~~~~~

Expand All @@ -165,6 +170,8 @@ The datastore_search_sql API endpoint allows a user to search data at a resource
}


.. _datastore_search_htsql:

datastore_search_htsql
~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -263,14 +270,14 @@ Comparison of different querying methods

The datastore supports querying with the datastore_search and datastore_search_sql API endpoint. They are similar but support different features. The following list gives an overview on the different methods.

============================== ======================= ===================== ======================
.. datastore_search datastore_search_sql datastore_search_htsql
.. SQL HTSQL
============================== ======================= ===================== ======================
**Status** Stable Stable Available as extension
**Ease of use** Easy Complex Medium
**Flexibility** Low High Medium
**Query language** Custom (JSON) SQL HTSQL
**Connect multiple resources** No Yes Not yet
**Use aliases** Yes Yes Yes
============================== ======================= ===================== ======================
============================== ======================= =========================== =============================
.. :ref:`datastore_search` :ref:`datastore_search_sql` :ref:`datastore_search_htsql`
.. SQL HTSQL
============================== ======================= =========================== =============================
**Status** Stable Stable Available as extension
**Ease of use** Easy Complex Medium
**Flexibility** Low High Medium
**Query language** Custom (JSON) SQL HTSQL
**Connect multiple resources** No Yes Not yet
**Use aliases** Yes Yes Yes
============================== ======================= =========================== =============================

0 comments on commit 194eb63

Please sign in to comment.