Skip to content

Commit

Permalink
Merge pull request #121 from noi-techpark/issue-115
Browse files Browse the repository at this point in the history
Issue 115
  • Loading branch information
Peter Moser committed Apr 8, 2020
2 parents a54d8c9 + 5cad323 commit 97e24e3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
9 changes: 0 additions & 9 deletions source/howto/mobility/getstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,3 @@ of values, respectively:
* :literal:`where=smetadata.capacity.gt.100,smetadata.municipality.eq."Bolzano -
Bozen"` same as previous query, but only parking lots in Bolzano are shown.


Null values
~~~~~~~~~~~

There is currently no mechanism to distinguish whether a JSON field
contains a :literal:`null` value or if the field is
non-existent. However, within a :literal:`WHERE` clause is possible to
filter elements that have :literal:`null` values set by adding to the
query the special parameter :literal:`shownull=true`.
30 changes: 30 additions & 0 deletions source/howto/mobility/tips.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@


.. _tips_mobility:

Quick and (not-so) Dirty Tips for Tourism (AKA Mini-howtos)
-----------------------------------------------------------

This section contains various tips and tricks to improve and tweak the
queries sent to the mobility datasets, allowing more precise results to
be retrieved.


.. note:: All the examples in this section will use the :strong:`flat`
representation type.


Example Calls
~~~~~~~~~~~~~


Tips and Tricks
~~~~~~~~~~~~~~~


.. _mobi_tt1:

.. rubric:: TT1: How do I retrieve :literal:`null` values?

In order to show `null` values in the output of a query, add
:literal:`shownull=true` ad the end of your query.

0 comments on commit 97e24e3

Please sign in to comment.