v1a0 / sqllex

The most pythonic ORM (for SQLite and PostgreSQL). Seriously, try it out!
https://v1a0.github.io/sqllex
GNU General Public License v3.0
91 stars 8 forks source link

FEATURE | Add new constants #16

Open v1a0 opened 3 years ago

v1a0 commented 3 years ago

In this issue you can leave your request for new constant.

List of existing constants:

SQLite3x

__all__ = [
    'ABORT',
    'ALL',
    'AS',
    'AUTOINCREMENT',

    'BLOB',

    'CHECK',
    'CONST_PRIORITY',
    'CROSS_JOIN',

    'DEFAULT',

    'FAIL',
    'FOREIGN_KEY',

    'IGNORE',
    'INNER_JOIN',
    'INTEGER',

    'LEFT_JOIN',

    'NONE',
    'NOT_NULL',
    'NULL',
    'NUMERIC',

    'ON',

    'PRIMARY_KEY',

    'REAL',
    'REFERENCES',
    'REPLACE',
    'ROLLBACK',

    'TEXT',

    'UNIQUE'
]
v1a0 commented 3 years ago

Select needed ORDER_BY

  1. ASC
  2. DESC