ALLOW FILTERING needed on get_all

This commit is contained in:
Cyber MacGeddon 2025-09-19 15:19:59 +01:00
parent 34c2ae5ca6
commit 91ca8dadb4

View file

@ -157,7 +157,7 @@ class KnowledgeGraph:
# Query statements for optimized access
self.get_all_stmt = self.session.prepare(
f"SELECT s, p, o FROM {self.subject_table} WHERE collection = ? LIMIT ?"
f"SELECT s, p, o FROM {self.subject_table} WHERE collection = ? LIMIT ? ALLOW FILTERING"
)
self.get_s_stmt = self.session.prepare(