Motivation
Sqlite supports a WHERE clause on creating an index. see docs
This feature is useful if only a subset of rows need to be indexed. Without it the index must cover all rows, which unnecessarily consumes more disk space.
Proposed Solutions
Something like sea_query::Index::create().filter(<Condition>) for use with entities, and sea_query::Index::create().filter_raw("<Where Clause>") for more freedom.
Additional Information