mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-28 09:56:22 +02:00
Fix graph query in Cassandra (#168)
This commit is contained in:
parent
dc0f54f236
commit
7a64385a57
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ class TrustGraph:
|
|||
|
||||
def get_po(self, p, o, limit=10):
|
||||
return self.session.execute(
|
||||
f"select s from {self.table} where p = %s and o = %s allow filtering limit {limit}",
|
||||
f"select s from {self.table} where p = %s and o = %s limit {limit} allow filtering",
|
||||
(p, o)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue