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

Method first

backend/app/db/queryset.py:65–67  ·  view source on GitHub ↗

Execute and return the first row, if available.

(self, session: AsyncSession)

Source from the content-addressed store, hash-verified

63 return list(await session.exec(self.statement))
64
65 async def first(self, session: AsyncSession) -> ModelT | None:
66 """Execute and return the first row, if available."""
67 return (await session.exec(self.statement)).first()
68
69 async def one_or_none(self, session: AsyncSession) -> ModelT | None:
70 """Execute and return one row or `None`."""

Callers 15

board_tasks.cy.tsFile · 0.45
get_memberFunction · 0.45
get_org_owner_userFunction · 0.45
get_first_membershipFunction · 0.45
get_active_membershipFunction · 0.45
_find_pending_inviteFunction · 0.45
has_board_accessFunction · 0.45
apply_invite_to_memberFunction · 0.45
resolve_gatewayMethod · 0.45
get_gateway_for_boardFunction · 0.45

Calls 1

execMethod · 0.45

Tested by

no test coverage detected