+
+ # To avoid losing items that have the same created_at as the
+ # last item on this page, we retrieve an overlapping page with a
+ # "created_at <= last_created_at" filter, then remove duplicates
+ # with a "uuid not in [...]" filter (see below).
+ nextpage_operator = /\bdesc$/i =~ @order[0] ? '<=' : '>='
+