From 24158ed70d46add12d13e8261081dc7ff07b0958 Mon Sep 17 00:00:00 2001 From: Gunther Cox Date: Thu, 27 Jul 2017 07:10:06 -0400 Subject: [PATCH] Set queries to false --- chatterbot/storage/sql_storage.py | 3 +++ 1 file changed, 3 insertions(+) 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.