Learning Agile Toolkit – the Book
More and more pages are being added into a “Learning Agile Toolkit” book. The section explaining the fundamentals of Agile Toolkit is mostly complete:
http://new.agiletoolkit.org/learn/understand
The most recent addition was JavaScript chains section and Models section.


0 down vote favorite
share [g+] share [fb] share [tw]
the link http://agiletoolkit.org/learn/app/logic is followed and calculated field in
// add into Model_DVD_InStore
function dsql_count(){
return $this
->dsql(null,false)
->field(‘count(*)’)
->where(‘(‘.$this->calculate_is_rented().’)!=’,'Y’)
->where(‘dvd.movie_id=movie.id’)
;
}
but this is an inner join and all dvds which are rented(do have entry in rented table) and returned are taken into account, but all dvds which are not yet rented are not taken in account.. any solution …