0.4.0
Pre-release
Pre-release
ADDED:
- Ability to persist entities via
Worm::save()
andWorm::delete()
- Ability to persist related entities via
Worm::saveRelatedEntity()
andWorm::saveRelatedEntities()
- Ability to define if a relationship has
ON DELETE CASCADE
constraint IdentityMap::createObjectFromId()
methodWorm::transaction()
methodWorm::queryInsert()
,Worm::queryUpdate()
andWorm::queryDelete()
methodsSelectQueryBuilder::fetchColumn()
andSelectQueryBuilder::fetchCount()
methodsSelectQueryBuilder::withAllTransitiveRelationships()
methodgetSql()
andgetParams()
methods to query builders
CHANGED:
- Renamed
Worm::queryModel()
toWorm::query()
- A newly added
ConditionBuilder
class is used by query builders instead of its Larva counterpart - Updated minimum Larva version requirement to 0.4
- Adapted interfaces to changes in Larva 0.4
FIXED:
WHERE
conditions won't be erased when usingSelectQueryBuilder::fetchById()
- Fetching relationships of an empty list of entities won't raise syntax error
- Retrieval of belongs-to relationships