R
R
ruslanbat2015-04-27 22:27:33
PostgreSQL
ruslanbat, 2015-04-27 22:27:33

(YII2 + PGSQL 9.4) returns primaryKey = NULL?

$users= new backend\models\Users;
$users->attributes = $data;
if($users->insert()){
var_dump($users->primaryKey); // NULL
...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
ruslanbat, 2015-04-27
@ruslanbat

Update the composer there is some kind of intermediate version buggy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question