Yii handling “getLastInsertId” with Oracle
With MySQL or SQLite, when you insert something with an auto_increment field, it will automatically deal with the ActiveRecord by putting the last inserted id into $model->id. Because Oracle needs sequences and triggers to deal with that, neither the PDO driver nor the Yii PDO code felt it necessary to deal with that. Most people … Continue reading Yii handling “getLastInsertId” with Oracle
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed