Closed chelsEg closed 3 years ago
Hello! Right now, I don't have an instance running a database with uuid keys. Please, share snapshot with this data type and i will check how it can be fixed.
Create space test_space:
$mapper->getSchema()->createSpace('test_space', [
'is_sync' => true,
'if_not_exists' => true,
'engine' => 'memtx',
'properties' => [
'id' => 'unsigned',
'uuid_column' => 'uuid',
],
])->addIndex([
'fields' => 'id',
'if_not_exists' => true,
'sequence' => true,
]);
Save data into test_space:
use Symfony\Component\Uid\Uuid;
$mapper->getSchema()->getSpace('test_space')->insert([
null,
new Uuid('735797ec-4947-4f8d-a238-20341f67ce22')
]);
crud for uuid implemented in v. 0.6.0
you can view, update and create tuples with uuid field types
Hello.
I have error by view space data.
I think it's because in my space exist uuid column.
Spaces without uuid column viewed good!