Answer the question
In order to leave comments, you need to log in
How to get static data of a function when selecting a model in Yii2?
get company models via $data = Company::find()->all();
the sum of active projects at the moment is also considered in the model
after sending via Json::decode();
How can I get the sum of active projects of the company in Json format?
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