mapper icon indicating copy to clipboard operation
mapper copied to clipboard

update entities with string primary key

Open nekufa opened this issue 7 years ago • 2 comments

$conn = $this->findOrFail('connection', ['uuid' => $uuid]);
$conn->gateway = $gateway;
$conn->socket = $socket;
$conn->save();

produces insert request, uuid is string

nekufa avatar May 15 '18 18:05 nekufa

can u clarify what you mean with this please?

zilveer avatar Jul 09 '19 06:07 zilveer

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.

nekufa avatar Jul 10 '19 11:07 nekufa