Parable Query 0.3.0
Pre-release
Pre-release
0.3.0
Changes
- The
SupportsForceIndexTrait
traitQuery::forceIndex(string $key)
andQuery::getForceIndex(): ?string
have been added, allowing you to force a specific index. UsePRIMARY_KEY_INDEX_VALUE
in place of the actual primary key to force the primary key as an index. Query::delete()
andQuery::update()
no longer accept aliases since they caused issues.AbstractCondition::VALUE_TYPE_VALUE
andAbstractCondition::VALUE_TYPE_KEY
have been removed.Query::ORDER_ASC
andQuery::ORDER_DESC
have been removed.Query::VALID_TYPES
has been removed, as it was unused.- All string values of
AND
andOR
have been replaced withAbstractCondition::TYPE_AND
andAbstractCondition::TYPE_OR
. ORDER_ASC
andORDER_DESC
have been changed fromint
values to their correspondingstring
valuesASC
andDESC
.OrderBy::getDirectionAsString()
has turned intoOrderBy::getDirection()
.- The
BuilderTest
now also attempts to run the queries. Adding this step made some issues clear, which are now all fixed.