MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / execute

Method execute

sdk-python/src/graphlite_sdk/query.py:142–153  ·  view source on GitHub ↗

Execute the query and return results Returns: QueryResult with rows and metadata Raises: QueryError: If query execution fails

(self)

Source from the content-addressed store, hash-verified

140 return query.strip()
141
142 def execute(self):
143 '''
144 Execute the query and return results
145
146 Returns:
147 QueryResult with rows and metadata
148
149 Raises:
150 QueryError: If query execution fails
151 '''
152 query = self.build()
153 return self._session.query(query)
154
155
156__all__ = ['QueryBuilder']

Callers

nothing calls this directly

Calls 2

buildMethod · 0.95
queryMethod · 0.45

Tested by

no test coverage detected