mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 04:31:02 +02:00
Fixed prepared statements
This commit is contained in:
parent
65d089be12
commit
4ea3331270
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class KnowledgeGraph:
|
|||
)
|
||||
|
||||
self.get_os_stmt = self.session.prepare(
|
||||
f"SELECT p FROM {self.subject_table} WHERE collection = ? AND s = ? AND o = ? LIMIT ?"
|
||||
f"SELECT p FROM {self.object_table} WHERE collection = ? AND o = ? AND s = ? LIMIT ?"
|
||||
)
|
||||
|
||||
self.get_spo_stmt = self.session.prepare(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue