Oleg Bronzov

  • Registered on: 2010-11-30
  • Last connection: 2011-04-07

Activity

Reported issues: 0

2010-12-13

03:08 AM PHP ActiveRecord General: RE: Autoload models function
Thanks Kien so much. Now I can use AR in my framework without patching.

2010-11-30

10:55 AM PHP ActiveRecord Help: RE: mysql_num_rows
)) but my think is it must be in core of the ORM
08:07 AM PHP ActiveRecord Help: RE: mysql_num_rows
or this...
07:59 AM PHP ActiveRecord Help: RE: mysql_num_rows
you can write class that extends from ActiveRecord\Model and use it for base model class...
07:44 AM PHP ActiveRecord Help: RE: mysql_num_rows
I think this solution is more correct
User::find_by_sql('SELECT count(ID) FROM users')
07:40 AM PHP ActiveRecord Help: RE: mysql_num_rows
I understand that it will be work, it feth all entries from table and its ok if you have not many rows in the table.
...
06:35 AM PHP ActiveRecord Help: mysql_num_rows
How can i get number of rows in the table?
For example i whant to organize paging, i need to now number of rows in...
04:51 AM PHP ActiveRecord General: Autoload models function
Hi. For first thanks for this realy great soft.
I want to use it in my framework and i have one problem with your ...

Also available in: Atom