php - Kohana 3: has_many and order_by -


how can order query uses has_many association in kohana 3?

have tried $model->items->order_by('fieldname')->find_all()? __get() method returns query_builder object, not database_result, can add qbuilder's conditions (where/order_by/etc) needs.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -