/**
  * Filter the query by a related Transaksi object
  *
  * @param   Transaksi|PropelObjectCollection $transaksi The related object(s) to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 DetailTransaksiQuery 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(DetailTransaksiPeer::ID_TRANSAKSI, $transaksi->getId(), $comparison);
     } elseif ($transaksi instanceof PropelObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(DetailTransaksiPeer::ID_TRANSAKSI, $transaksi->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByTransaksi() only accepts arguments of type Transaksi or PropelCollection');
     }
 }