/**
  * Filter the query by a related Transaksi object
  *
  * @param   Transaksi|PropelObjectCollection $transaksi  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 CustomersQuery The current query, for fluid interface
  * @throws PropelException - if the provided filter is invalid.
  */
 public function filterByTransaksi($transaksi, $comparison = null)
 {
     if ($transaksi instanceof Transaksi) {
         return $this->addUsingAlias(CustomersPeer::ID, $transaksi->getIdCustomers(), $comparison);
     } elseif ($transaksi instanceof PropelObjectCollection) {
         return $this->useTransaksiQuery()->filterByPrimaryKeys($transaksi->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByTransaksi() only accepts arguments of type Transaksi or PropelCollection');
     }
 }