Features/Plain Query Format: Difference between revisions
| Line 29: | Line 29: | ||
* could be ranged e.g. timestamp:<stamp1>..<stamp2> | * could be ranged e.g. timestamp:<stamp1>..<stamp2> | ||
* could be sorted | * could be sorted | ||
==== System terms ==== | ==== System terms ==== | ||
| Line 145: | Line 140: | ||
* ''books:favorite'' if ''tags'' has substring ''books:favorite'' | * ''books:favorite'' if ''tags'' has substring ''books:favorite'' | ||
* ''books:brothers'' if ''tags'' has substring ''books:"The Strugatsky brothers"'' | * ''books:brothers'' if ''tags'' has substring ''books:"The Strugatsky brothers"'' | ||
==== Result set control parameters ==== | |||
New find() method still has optional dictionary argument to control final result set. | |||
{| border=1 cellpadding=3 style="border: 1px solid white; border-collapse: collapse; background: #e3e4e5;" | |||
|-style="background:#787878; color: white;" | |||
! Dictionary key | |||
! Flags/Parameters | |||
! Notes | |||
|- | |||
| ''offset'' | |||
|- | |||
| ''limit'' | |||
|- | |||
| ''order_by'' | |||
|- | |||
|} | |||
== Benefit to Sugar == | == Benefit to Sugar == | ||