Skip to content

Support for index ordering (ASC/DESC) #4150

@natemcmaster

Description

@natemcmaster

After discussion on #11846, we decided that the way to handle this is to allow multiple named indexes to be created over columns, while still preserving the current semantics (i.e. addressing by ordered property set) for unnamed indexes.

Original issue:
Add support for column sort order to migrations, metadata, and reverse engineering.

  • Add API to specific ascending/descending columns in an index (
    CREATE INDEX IX_1 ON Table ( Col1 DESC, Col2 ASC) )
  • Add to reverse engineering database model (prototype here)
  • Adapt to older version of SQLite (sort order is not supported < 3.8.9)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions