fix ChannelDB.compare_channels: was raising "too many SQL variables"
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) too many SQL variables
This commit is contained in:
@@ -10,6 +10,10 @@ from sqlalchemy.orm import sessionmaker
|
||||
from .logging import Logger
|
||||
|
||||
|
||||
# https://stackoverflow.com/questions/26971050/sqlalchemy-sqlite-too-many-sql-variables
|
||||
SQLITE_LIMIT_VARIABLE_NUMBER = 999
|
||||
|
||||
|
||||
def sql(func):
|
||||
"""wrapper for sql methods"""
|
||||
def wrapper(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user