Layer for Nette\Database