Utils
get_datastore_field_types()
¶
Get a dict of datastore field names and their types.
Returns:
| Type | Description |
|---|---|
|
a dict of {field_name: field_type} |
Source code in ckanext/graph/lib/utils.py
11 12 13 14 15 16 17 18 19 20 21 22 | |
get_request_filters()
¶
Retrieve filters from the URL parameters and return them as a dict.
Returns:
| Type | Description |
|---|---|
|
a dict of {field_name: [filter1,filter2,...]} |
Source code in ckanext/graph/lib/utils.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |
get_request_query()
¶
Retrieve the q parameter from the URL and return unquoted.
Returns:
| Type | Description |
|---|---|
|
string |
Source code in ckanext/graph/lib/utils.py
41 42 43 44 45 46 47 48 | |