diff --git a/chatterbot/storage/sql_storage.py b/chatterbot/storage/sql_storage.py index ba1b6125b..d3970cc87 100644 --- a/chatterbot/storage/sql_storage.py +++ b/chatterbot/storage/sql_storage.py @@ -127,6 +127,9 @@ def __init__(self, **kwargs): self.Session = sessionmaker(bind=self.engine, expire_on_commit=True) + # ChatterBot's internal query builder is not yet supported for this adapter + self.adapter_supports_queries = False + def count(self): """ Return the number of entries in the database.