ratings and scores use 0 for default value

Caleb Cushing xenoterracide at gmail.com
Sun Nov 30 17:23:31 CET 2008


>  select tracks where (rating == 0 or rating <3)
>
the problem here is not the sequel query, I imagine they are somewhat
dynamically generated. so how do you then handle

select tracks where rating > 3

you couldn't handle it like select tracks where (rating == 0 or rating
> 3) because technically this wouldn't be how null behaves either.

-- 
Caleb Cushing


More information about the Amarok-devel mailing list