Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ __getitem__
Method
__getitem__
pattern/db/__init__.py:1206–1207 ·
view source on GitHub ↗
(self, i)
Source
from the content-addressed store, hash-verified
1204
def
__iter__(self):
1205
return
iter(self.rows())
1206
def
__getitem__(self, i):
1207
return
self.rows()[i]
1208
1209
def
SQL(self):
1210
""
" Yields the SQL syntax of the query, which can be passed to Database.execute().
Callers
nothing calls this directly
Calls
1
rows
Method · 0.95
Tested by
no test coverage detected