Skip to content

Releases: tarantool-php/mapper

rename reflection plugin

10 May 18:32

Choose a tag to compare

rename reflection plugin

fixed exception messages

10 May 13:31

Choose a tag to compare

active entities

10 May 13:03

Choose a tag to compare

  • 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

05 May 14:39

Choose a tag to compare

2.5.0

update readme

mass removing implemented

27 Apr 21:14

Choose a tag to compare

  • $mapper->remove('documents', ['status' => 2]);
  • $mapper->getSpace('tester')->truncate();

spy collection fixed

27 Apr 20:20

Choose a tag to compare

2.3.3

spy changes fix

extended spy format

27 Apr 15:28

Choose a tag to compare

add spy space to changes array

spy has changes method

27 Apr 13:17

Choose a tag to compare

2.3.1

implement has changes method

added spy plugin

27 Apr 08:21

Choose a tag to compare

2.3.0

implement spy plugin

update/remove plugin triggers aded

26 Apr 14:21

Choose a tag to compare

2.2.6

added update / remove plugin triggers