MCPcopy Index your code
hub / github.com/piccolo-orm/piccolo / first

Method first

piccolo/query/methods/objects.py:396–398  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

394 ###########################################################################
395
396 def first(self) -> First[TableInstance]:
397 self.limit_delegate.limit(1)
398 return First[TableInstance](query=self)
399
400 def lock_rows(
401 self: Self,

Callers 1

runMethod · 0.45

Calls 1

limitMethod · 0.45

Tested by

no test coverage detected