@classmethod
def execute(cls, cursor, query: str, **kwargs):
    """
        Execute a SQL query

        :param cursor: Cursor instance
        :param query: Query to execute
        :param kwargs: kwargs to be passed to cursor.execute()
        :return:
        """
    if cls.arraysize:
        cursor.arraysize = cls.arraysize
    cursor.execute(query)
