Skip to content

Commit

Permalink
[#2562] fix datastore_search_sql docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Feb 25, 2018
1 parent 4b37006 commit f6650e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ckanext/datastore/logic/action.py
Expand Up @@ -509,9 +509,8 @@ def datastore_search_sql(context, data_dict):
engine is the
`PostgreSQL engine <http://www.postgresql.org/docs/9.1/interactive/>`_.
There is an enforced timeout on SQL queries to avoid an unintended DOS.
DataStore resource that belong to a private CKAN resource cannot be
searched with this action. Use
:meth:`~ckanext.datastore.logic.action.datastore_search` instead.
Queries are only allowed if you have access to the all the CKAN resources
in the query and send the appropriate authorization.
.. note:: This action is only available when using PostgreSQL 9.X and
using a read-only user on the database.
Expand Down

0 comments on commit f6650e5

Please sign in to comment.