Thanks!
That explains a lot. For some reason I thought that 'SELECT COUNT() FROM
' is optimised.
> Gonna take a stab and answering this.
> http://www.sqlite.org/opcode.html
>
> The explain output for select count() from foo; uses the "Count" opcode. The
> description for that is
> "Store
Gonna take a stab and answering this.
http://www.sqlite.org/opcode.html
The explain output for select count() from foo; uses the "Count" opcode. The
description for that is
"Store the number of entries (an integer value) in the table or index opened by
cursor P1 in register P2"
So that is
2 matches
Mail list logo