it's better to leave aggregate values (sum,avg etc) outside the marks
table as every record should reflect an atomic information ( a mark). When
you need to aggregate the atoms do it in a controlller-function and pass
results to a view for display
--
Resources:
- http://web2py.com
-
On Monday, November 27, 2017 at 4:41:20 PM UTC+2, Pierre wrote:
>
> here:
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len
>
> and don't be too severe with your students...
>
I am having an issue, in the process of calculating
hahahaha they get what they deserve, *garbage in garbage out*, thanks.
On Monday, November 27, 2017 at 4:41:20 PM UTC+2, Pierre wrote:
>
> here:
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len
>
>
>
and don't be too severe with your
here:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len
and don't be too severe with your students...
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
4 matches
Mail list logo