Releases: tarantool-php/mapper
Releases · tarantool-php/mapper
rename reflection plugin
rename reflection plugin
fixed exception messages
2.6.1 bugfix
active entities
- Entity::save()
$person = $mapper->findOne('person', ['nick' => 'nekufa']);
$person->email = '[email protected]';
$person->save();
- Cast property names by data type
$mapper->getSchema()
->createSpace('note', [
'id' => 'unsigned',
'message' => 'str',
])
->addIndex('id');
$note = $mapper->create('note', 'my message');
$note->message == 'my message'; // true
$another = $mapper->create('note', ['second message', 2]);
$note->message == 'second message'; // true
$note->id == 2; // true
docblock plugin
2.5.0 update readme
mass removing implemented
$mapper->remove('documents', ['status' => 2]);$mapper->getSpace('tester')->truncate();
spy collection fixed
2.3.3 spy changes fix
extended spy format
add spy space to changes array
spy has changes method
2.3.1 implement has changes method
added spy plugin
2.3.0 implement spy plugin
update/remove plugin triggers aded
2.2.6 added update / remove plugin triggers