pub fn resolve<S: Write + Read, T: ToQType>( conn: &mut S, name: &str ) -> Result<Vec<T>, Box<dyn Error>>