/**
  * Filter the query by a related Libro object
  *
  * @param     Libro $libro  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return    UsuarioQuery The current query, for fluid interface
  */
 public function filterByLibroRelatedById_usuario($libro, $comparison = null)
 {
     if ($libro instanceof Libro) {
         return $this->addUsingAlias(UsuarioPeer::ID, $libro->getId_usuario(), $comparison);
     } elseif ($libro instanceof PropelCollection) {
         return $this->useLibroRelatedById_usuarioQuery()->filterByPrimaryKeys($libro->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByLibroRelatedById_usuario() only accepts arguments of type Libro or PropelCollection');
     }
 }