@enumag: Yeah, sorry, I meant Nette\Database\Statement::getColumnCount().

@hrach: Firstly, sorry if code review bothers you, if it's problem for you, I don't understand why you participate in open-source development. Now, tell me what you mean by that "what"? Please, be constructive, not arrogant. :)