MCPcopy
hub / github.com/abhi1693/openclaw-mission-control / order_by

Method order_by

backend/app/api/queryset.py:39–44  ·  view source on GitHub ↗

Return a new queryset with ordering clauses applied.

(
        self,
        *ordering: Mapped[Any] | ColumnElement[Any] | str,
    )

Source from the content-addressed store, hash-verified

37 return APIQuerySet(self.queryset.filter(*criteria))
38
39 def order_by(
40 self,
41 *ordering: Mapped[Any] | ColumnElement[Any] | str,
42 ) -> APIQuerySet[ModelT]:
43 """Return a new queryset with ordering clauses applied."""
44 return APIQuerySet(self.queryset.order_by(*ordering))
45
46 def limit(self, value: int) -> APIQuerySet[ModelT]:
47 """Return a new queryset with a row limit applied."""

Callers 15

list_my_organizationsFunction · 0.45
list_org_membersFunction · 0.45
remove_org_memberFunction · 0.45
list_org_invitesFunction · 0.45
list_marketplace_skillsFunction · 0.45
list_skill_packsFunction · 0.45
list_boardsFunction · 0.45
list_boardsFunction · 0.45
list_agentsFunction · 0.45
list_tagsFunction · 0.45
has_valid_recent_commentFunction · 0.45
_lead_was_mentionedFunction · 0.45

Calls 1

APIQuerySetClass · 0.85

Tested by

no test coverage detected