mapper
mapper copied to clipboard
update entities with string primary key
$conn = $this->findOrFail('connection', ['uuid' => $uuid]);
$conn->gateway = $gateway;
$conn->socket = $socket;
$conn->save();
produces insert request, uuid is string
can u clarify what you mean with this please?
hello, i mean that mapper now works only with unsigned primary keys and if primary key is string something goes wrong. in example above a use uuid as a primary key and when update operations is performed - you'll see an error.