https://github.com/nette/nette/commit/a8e9827682657ec60dbd0c295f738c01b42b9095#Nette/Database/Table/Selection.php