Let say, instead, I just want to know the number of recordings that are
available for that time period. Should I just run the above code and
then get the length of the array? Or is there some construction I should
be using with COUNT that would be better? (I.e., is less work for the
database to process.)
Oh, and (unfortunately) I am still using rails 2.3.5.
Let say, instead, I just want to know the number of recordings that are
available for that time period. Should I just run the above code and
then get the length of the array? Or is there some construction I should
be using with COUNT that would be better? (I.e., is less work for the
database to process.)