Answer the question
In order to leave comments, you need to log in
How to specify SET @var in ActiveRecord?
Good afternoon,
here I would like to make a calculation in the request.
Simple query, simple question) How to specify in ActiveRecord SET var := 0;
Thanks
Answer the question
In order to leave comments, you need to log in
Good evening.
// определяем переменну
public $count_var = 0;
// обращение к переменной
$this->count_var
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question