Implement eager loading for SQL databases
Merge pull request #393 from Tape/eager-loading

Implement eager loading