Dbal version of Idiorm and Paris (untested)