3d93516b53
The default query builder has maximum SQL compatibility, but the query plans it makes are not always optimal, especially in the case of multi-column keys. For example, PostgreSQL is unable to to effectively create a query plan that does index scanning when faced with such a query. Some databases support the concept of row value constructors. In these cases, we can use these as an alternative to make a much more simple and easier to understand query. Not only is it easier for humans to understand, but most importantly, the query planner also gets the hint and finally uses the relevant multi-column index! This commit starts out with support for PostgreSQL and MySQL. |
||
---|---|---|
.. | ||
src | ||
pom.xml |