def __init__(self, databaseName): self.databaseName = databaseName self.conn = sqlite3.connect(self.databaseName, detect_types=sqlite3.PARSE_DECLTYPES | sqlite3.PARSE_COLNAMES) self.cursor = self.conn.cursor() self.debug_sql = config.debug_sql()
def test_debug_sql(self): print('debug_sql:', config.debug_sql())
def __init__(self, databaseName): self.databaseName = databaseName self.conn = sqlite3.connect(self.databaseName, detect_types=sqlite3.PARSE_DECLTYPES|sqlite3.PARSE_COLNAMES) self.cursor = self.conn.cursor() self.debug_sql = config.debug_sql()
def test_debug_sql(self): print('debug_sql:',config.debug_sql())