bringing the example into line with the new 'get_adaptor' method, rather than the old 'db adaptor' way