Doing some research I found the docs...

"You cannot project a property that also is referenced in an equality 
filter. For example SELECT A FROM kind WHERE A = 1 is not supported, but SELECT 
A FROM kind WHERE B = 1 or SELECT A FROM kind WHERE A > 1 is supported."

So I did ...

self.db(self.tabela.nome == nome).select(self.tabela.valor, 
self.tabela.valor_blob)

I cannot (and it is obvioulsy not necessary too) use the field "nome" in 
query and "select".

Now its working fine...

Anyone can give any idea about how to test projection x "nomal" queries?
I would like to benchmark each situation and post here.

Thanks.

Reply via email to