Closed v1a0 closed 2 years ago
Example log:
expected = self.db.execute('SELECT id, firstName FROM "employee" ORDER BY firstName ASC, surname DESC') self.assertEqual( expected, self.db['employee'].select( SELECT=['id', 'firstName'], ORDER_BY=['firstName', 'ASC', 'surname', 'DESC'] ) ) # sqlite3.OperationalError: no such column: ASC
SELECT id, firstName FROM "employee" ORDER BY firstName, ASC, surname, DESC ^ ^ [!] [!]
SELECT id, firstName FROM "employee" ORDER BY firstName ASC, surname DESC
sqllex v0.2.0.5
Not supporting different sorting order for different columns.
Example log:
Generated script
How script have to look like
Version:
sqllex v0.2.0.5