Posts Tagged “relation”

Yii 2.0 hasMany
Yii 2.x

Yii 2.0 hasMany

Feb 14, 2015

In our last post, you learned how to join two tables using joinWith() and using hasOne when declaring your relation. In this post I want to tell you t...

Continue reading
Yii 2.0 joinWith()
Yii 2.x

Yii 2.0 joinWith()

Feb 14, 2015

In this article I want to talk about joining two tables in Yii 2.0. How to join two tables on a one-to-one relation?

Continue reading