Answer the question
In order to leave comments, you need to log in
How to get Returning id in postgresql yii2?
Essence of the question, there is an insert request
Yii::$app->db->createCommand()->insert('services', Yii::$app->request->post()['Services'])->execute ();
(this is exactly how it should be, initially the above code is validated through Active Record)
How can I get the id of this insert in yii2?
For example, using the Returning id?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question