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

Method default_querystrings

piccolo/query/methods/count.py:50–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48
49 @property
50 def default_querystrings(self) -> Sequence[QueryString]:
51 table: type[Table] = self.table
52
53 query = table.select(
54 CountFunction(column=self.column, distinct=self._distinct)
55 )
56
57 query.where_delegate._where = self.where_delegate._where
58
59 return query.querystrings
60
61
62Self = TypeVar("Self", bound=Count)

Callers

nothing calls this directly

Calls 1

selectMethod · 0.80

Tested by

no test coverage detected