OrderProductTaxQuery
class OrderProductTaxQuery extends OrderProductTaxQuery
Skeleton subclass for performing query and update operations on the 'orderproducttax' table.
You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.
Methods
Initializes internal state of \Thelia\Model\Base\OrderProductTaxQuery object.
Returns a new ChildOrderProductTaxQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the id column
Filter the query on the orderproductid column
Filter the query on the title column
Filter the query on the description column
Filter the query on the amount column
Filter the query on the promo_amount column
Filter the query on the created_at column
Filter the query on the updated_at column
Filter the query by a related \Thelia\Model\OrderProduct object
Adds a JOIN clause to the query using the OrderProduct relation
Use the OrderProduct relation OrderProduct object
Deletes all rows from the orderproducttax table.
Performs a DELETE on the database, given a ChildOrderProductTax or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by the id column
Order by the orderproductid column
Order by the title column
Order by the description column
Order by the amount column
Order by the promo_amount column
Order by the created_at column
Order by the updated_at column
Group by the orderproductid column
Group by the description column
Group by the promo_amount column
Group by the created_at column
Group by the updated_at column
Adds a LEFT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Adds a INNER JOIN clause to the query
Adds a LEFT JOIN clause to the query using the OrderProduct relation
Adds a RIGHT JOIN clause to the query using the OrderProduct relation
Adds a INNER JOIN clause to the query using the OrderProduct relation
Return the first ChildOrderProductTax matching the query
Return the first ChildOrderProductTax matching the query, or a new ChildOrderProductTax object populated from the query conditions when no match is found
Return the first ChildOrderProductTax filtered by the id column
Return the first ChildOrderProductTax filtered by the orderproductid column
Return the first ChildOrderProductTax filtered by the title column
Return the first ChildOrderProductTax filtered by the description column
Return the first ChildOrderProductTax filtered by the amount column
Return the first ChildOrderProductTax filtered by the promo_amount column
Return the first ChildOrderProductTax filtered by the created_at column
Return the first ChildOrderProductTax filtered by the updated_at column
Return ChildOrderProductTax objects filtered by the id column
Return ChildOrderProductTax objects filtered by the orderproductid column
Return ChildOrderProductTax objects filtered by the title column
Return ChildOrderProductTax objects filtered by the description column
Return ChildOrderProductTax objects filtered by the amount column
Return ChildOrderProductTax objects filtered by the promo_amount column
Return ChildOrderProductTax objects filtered by the created_at column
Return ChildOrderProductTax objects filtered by the updated_at column
Details
in
OrderProductTaxQuery at line 82
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\OrderProductTax',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\OrderProductTaxQuery object.
in
OrderProductTaxQuery at line 95
static
OrderProductTaxQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildOrderProductTaxQuery object.
in
OrderProductTaxQuery at line 125
OrderProductTax|array|mixed
findPk(
mixed $key,
ConnectionInterface $con = null)
Find object by primary key.
Propel uses the instance pool to skip the database if the object exists. Go fast if the query is untouched.
$obj = $c->findPk(12, $con);
in
OrderProductTaxQuery at line 207
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
OrderProductTaxQuery at line 228
OrderProductTaxQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
OrderProductTaxQuery at line 241
OrderProductTaxQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
OrderProductTaxQuery at line 265
OrderProductTaxQuery
filterById(
mixed $id = null,
string $comparison = null)
Filter the query on the id column
Example usage:
$query->filterById(1234); // WHERE id = 1234
$query->filterById(array(12, 34)); // WHERE id IN (12, 34)
$query->filterById(array('min' => 12)); // WHERE id > 12
in
OrderProductTaxQuery at line 308
OrderProductTaxQuery
filterByOrderProductId(
mixed $orderProductId = null,
string $comparison = null)
Filter the query on the orderproductid column
Example usage:
$query->filterByOrderProductId(1234); // WHERE orderproductid = 1234
$query->filterByOrderProductId(array(12, 34)); // WHERE orderproductid IN (12, 34)
$query->filterByOrderProductId(array('min' => 12)); // WHERE orderproductid > 12
in
OrderProductTaxQuery at line 346
OrderProductTaxQuery
filterByTitle(
string $title = null,
string $comparison = null)
Filter the query on the title column
Example usage:
$query->filterByTitle('fooValue'); // WHERE title = 'fooValue'
$query->filterByTitle('%fooValue%'); // WHERE title LIKE '%fooValue%'
in
OrderProductTaxQuery at line 375
OrderProductTaxQuery
filterByDescription(
string $description = null,
string $comparison = null)
Filter the query on the description column
Example usage:
$query->filterByDescription('fooValue'); // WHERE description = 'fooValue'
$query->filterByDescription('%fooValue%'); // WHERE description LIKE '%fooValue%'
in
OrderProductTaxQuery at line 407
OrderProductTaxQuery
filterByAmount(
mixed $amount = null,
string $comparison = null)
Filter the query on the amount column
Example usage:
$query->filterByAmount(1234); // WHERE amount = 1234
$query->filterByAmount(array(12, 34)); // WHERE amount IN (12, 34)
$query->filterByAmount(array('min' => 12)); // WHERE amount > 12
in
OrderProductTaxQuery at line 448
OrderProductTaxQuery
filterByPromoAmount(
mixed $promoAmount = null,
string $comparison = null)
Filter the query on the promo_amount column
Example usage:
$query->filterByPromoAmount(1234); // WHERE promoamount = 1234
$query->filterByPromoAmount(array(12, 34)); // WHERE promoamount IN (12, 34)
$query->filterByPromoAmount(array('min' => 12)); // WHERE promo_amount > 12
in
OrderProductTaxQuery at line 491
OrderProductTaxQuery
filterByCreatedAt(
mixed $createdAt = null,
string $comparison = null)
Filter the query on the created_at column
Example usage:
$query->filterByCreatedAt('2011-03-14'); // WHERE createdat = '2011-03-14'
$query->filterByCreatedAt('now'); // WHERE createdat = '2011-03-14'
$query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'
in
OrderProductTaxQuery at line 534
OrderProductTaxQuery
filterByUpdatedAt(
mixed $updatedAt = null,
string $comparison = null)
Filter the query on the updated_at column
Example usage:
$query->filterByUpdatedAt('2011-03-14'); // WHERE updatedat = '2011-03-14'
$query->filterByUpdatedAt('now'); // WHERE updatedat = '2011-03-14'
$query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'
in
OrderProductTaxQuery at line 565
OrderProductTaxQuery
filterByOrderProduct(
OrderProduct|ObjectCollection $orderProduct,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderProduct object
in
OrderProductTaxQuery at line 590
OrderProductTaxQuery
joinOrderProduct(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderProduct relation
in
OrderProductTaxQuery at line 625
OrderProductQuery
useOrderProductQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderProduct relation OrderProduct object
in
OrderProductTaxQuery at line 639
OrderProductTaxQuery
prune(
OrderProductTax $orderProductTax = null)
Exclude object from result
in
OrderProductTaxQuery at line 654
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the orderproducttax table.
in
OrderProductTaxQuery at line 691
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildOrderProductTax or Criteria object OR a primary key value.
in
OrderProductTaxQuery at line 732
OrderProductTaxQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
in
OrderProductTaxQuery at line 744
OrderProductTaxQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
in
OrderProductTaxQuery at line 754
OrderProductTaxQuery
lastUpdatedFirst()
Order by update date desc
in
OrderProductTaxQuery at line 764
OrderProductTaxQuery
firstUpdatedFirst()
Order by update date asc
in
OrderProductTaxQuery at line 774
OrderProductTaxQuery
lastCreatedFirst()
Order by create date desc
in
OrderProductTaxQuery at line 784
OrderProductTaxQuery
firstCreatedFirst()
Order by create date asc
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderById($order = Criteria::ASC)
Order by the id column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByOrderProductId($order = Criteria::ASC)
Order by the orderproductid column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByTitle($order = Criteria::ASC)
Order by the title column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByDescription($order = Criteria::ASC)
Order by the description column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByAmount($order = Criteria::ASC)
Order by the amount column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByPromoAmount($order = Criteria::ASC)
Order by the promo_amount column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupById()
Group by the id column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByOrderProductId()
Group by the orderproductid column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByTitle()
Group by the title column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByDescription()
Group by the description column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByAmount()
Group by the amount column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByPromoAmount()
Group by the promo_amount column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByCreatedAt()
Group by the created_at column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
groupByUpdatedAt()
Group by the updated_at column
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
leftJoinOrderProduct($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderProduct relation
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
rightJoinOrderProduct($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderProduct relation
in
OrderProductTaxQuery at line 72
ChildOrderProductTaxQuery
innerJoinOrderProduct($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderProduct relation
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOne(
ConnectionInterface $con = null)
Return the first ChildOrderProductTax matching the query
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildOrderProductTax matching the query, or a new ChildOrderProductTax object populated from the query conditions when no match is found
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneById(
int $id)
Return the first ChildOrderProductTax filtered by the id column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByOrderProductId(
int $order_product_id)
Return the first ChildOrderProductTax filtered by the orderproductid column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByTitle(
string $title)
Return the first ChildOrderProductTax filtered by the title column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByDescription(
string $description)
Return the first ChildOrderProductTax filtered by the description column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByAmount(
string $amount)
Return the first ChildOrderProductTax filtered by the amount column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByPromoAmount(
string $promo_amount)
Return the first ChildOrderProductTax filtered by the promo_amount column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByCreatedAt(
string $created_at)
Return the first ChildOrderProductTax filtered by the created_at column
in
OrderProductTaxQuery at line 72
ChildOrderProductTax
findOneByUpdatedAt(
string $updated_at)
Return the first ChildOrderProductTax filtered by the updated_at column
in
OrderProductTaxQuery at line 72
array
findById(
int $id)
Return ChildOrderProductTax objects filtered by the id column
in
OrderProductTaxQuery at line 72
array
findByOrderProductId(
int $order_product_id)
Return ChildOrderProductTax objects filtered by the orderproductid column
in
OrderProductTaxQuery at line 72
array
findByTitle(
string $title)
Return ChildOrderProductTax objects filtered by the title column
in
OrderProductTaxQuery at line 72
array
findByDescription(
string $description)
Return ChildOrderProductTax objects filtered by the description column
in
OrderProductTaxQuery at line 72
array
findByAmount(
string $amount)
Return ChildOrderProductTax objects filtered by the amount column
in
OrderProductTaxQuery at line 72
array
findByPromoAmount(
string $promo_amount)
Return ChildOrderProductTax objects filtered by the promo_amount column
in
OrderProductTaxQuery at line 72
array
findByCreatedAt(
string $created_at)
Return ChildOrderProductTax objects filtered by the created_at column
in
OrderProductTaxQuery at line 72
array
findByUpdatedAt(
string $updated_at)
Return ChildOrderProductTax objects filtered by the updated_at column