Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Low-level Activity API
(view source)
Revision as of 13:51, 14 December 2010
76 bytes added
,
13:51, 14 December 2010
→Querying
:
add query syntax reference
Line 196:
Line 196:
: 'mtime' = {'start' = '2007-07-01T00:00:00', 'end' = '2007-08-01T00:00:00'}
: 'mtime' = {'start' = '2007-07-01T00:00:00', 'end' = '2007-08-01T00:00:00'}
A few specific keys adjust the query:
A few specific keys adjust the query:
−
: 'query': fulltext search term
+
: 'query': fulltext search term
(supports some [http://xapian.org/docs/queryparser.html special operators])
: 'order_by': sort key (or array of keys) to order results by, to reverse order use '-key' <i>(but see note below)</i>
: 'order_by': sort key (or array of keys) to order results by, to reverse order use '-key' <i>(but see note below)</i>
: 'limit', 'offset': return only limit results starting at offset
: 'limit', 'offset': return only limit results starting at offset
Bert
132
edits