Database agnostic :leaves scope (closes #29)