Draft Iterator implementation.

see: https://gist.github.com/Korbeil/10019462
https://github.com/hoaproject/Database/pull/4