convenience SQL functions with Class::Struct-like row objects