I know use with query: $customers = Customer::find()->with([ \'country\', \'orders\' => function ($query) {