AreaDeliveryModuleQuery
class AreaDeliveryModuleQuery extends ModelCriteria
Base class that represents a query for the 'areadeliverymodule' table.
Methods
Initializes internal state of \Thelia\Model\Base\AreaDeliveryModuleQuery object.
Returns a new ChildAreaDeliveryModuleQuery 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 area_id column
Filter the query on the deliverymoduleid 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\Area object
Adds a JOIN clause to the query using the Area relation
Use the Area relation Area object
Filter the query by a related \Thelia\Model\Module object
Adds a JOIN clause to the query using the Module relation
Use the Module relation Module object
Deletes all rows from the areadeliverymodule table.
Performs a DELETE on the database, given a ChildAreaDeliveryModule or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by update date desc
Order by update date asc
Order by create date desc
Order by create date asc
Order by the id column
Order by the area_id column
Order by the deliverymoduleid column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the area_id column
Group by the deliverymoduleid 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 Area relation
Adds a RIGHT JOIN clause to the query using the Area relation
Adds a INNER JOIN clause to the query using the Area relation
Adds a LEFT JOIN clause to the query using the Module relation
Adds a RIGHT JOIN clause to the query using the Module relation
Adds a INNER JOIN clause to the query using the Module relation
Return the first ChildAreaDeliveryModule matching the query
Return the first ChildAreaDeliveryModule matching the query, or a new ChildAreaDeliveryModule object populated from the query conditions when no match is found
Return the first ChildAreaDeliveryModule filtered by the id column
Return the first ChildAreaDeliveryModule filtered by the area_id column
Return the first ChildAreaDeliveryModule filtered by the deliverymoduleid column
Return the first ChildAreaDeliveryModule filtered by the created_at column
Return the first ChildAreaDeliveryModule filtered by the updated_at column
Return ChildAreaDeliveryModule objects filtered by the id column
Return ChildAreaDeliveryModule objects filtered by the area_id column
Return ChildAreaDeliveryModule objects filtered by the deliverymoduleid column
Return ChildAreaDeliveryModule objects filtered by the created_at column
Return ChildAreaDeliveryModule objects filtered by the updated_at column
Details
at line 74
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\AreaDeliveryModule',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\AreaDeliveryModuleQuery object.
at line 87
static
AreaDeliveryModuleQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildAreaDeliveryModuleQuery object.
at line 117
AreaDeliveryModule|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);
at line 199
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 220
AreaDeliveryModuleQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 233
AreaDeliveryModuleQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 257
AreaDeliveryModuleQuery
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
at line 300
AreaDeliveryModuleQuery
filterByAreaId(
mixed $areaId = null,
string $comparison = null)
Filter the query on the area_id column
Example usage:
$query->filterByAreaId(1234); // WHERE areaid = 1234
$query->filterByAreaId(array(12, 34)); // WHERE areaid IN (12, 34)
$query->filterByAreaId(array('min' => 12)); // WHERE area_id > 12
at line 343
AreaDeliveryModuleQuery
filterByDeliveryModuleId(
mixed $deliveryModuleId = null,
string $comparison = null)
Filter the query on the deliverymoduleid column
Example usage:
$query->filterByDeliveryModuleId(1234); // WHERE deliverymoduleid = 1234
$query->filterByDeliveryModuleId(array(12, 34)); // WHERE deliverymoduleid IN (12, 34)
$query->filterByDeliveryModuleId(array('min' => 12)); // WHERE deliverymoduleid > 12
at line 386
AreaDeliveryModuleQuery
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'
at line 429
AreaDeliveryModuleQuery
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'
at line 460
AreaDeliveryModuleQuery
filterByArea(
Area|ObjectCollection $area,
string $comparison = null)
Filter the query by a related \Thelia\Model\Area object
at line 485
AreaDeliveryModuleQuery
joinArea(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Area relation
at line 520
AreaQuery
useAreaQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Area relation Area object
at line 535
AreaDeliveryModuleQuery
filterByModule(
Module|ObjectCollection $module,
string $comparison = null)
Filter the query by a related \Thelia\Model\Module object
at line 560
AreaDeliveryModuleQuery
joinModule(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Module relation
at line 595
ModuleQuery
useModuleQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Module relation Module object
at line 609
AreaDeliveryModuleQuery
prune(
AreaDeliveryModule $areaDeliveryModule = null)
Exclude object from result
at line 624
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the areadeliverymodule table.
at line 661
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildAreaDeliveryModule or Criteria object OR a primary key value.
at line 702
AreaDeliveryModuleQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 714
AreaDeliveryModuleQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 724
AreaDeliveryModuleQuery
lastUpdatedFirst()
Order by update date desc
at line 734
AreaDeliveryModuleQuery
firstUpdatedFirst()
Order by update date asc
at line 744
AreaDeliveryModuleQuery
lastCreatedFirst()
Order by create date desc
at line 754
AreaDeliveryModuleQuery
firstCreatedFirst()
Order by create date asc
at line 64
ChildAreaDeliveryModuleQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 64
ChildAreaDeliveryModuleQuery
orderByAreaId($order = Criteria::ASC)
Order by the area_id column
at line 64
ChildAreaDeliveryModuleQuery
orderByDeliveryModuleId($order = Criteria::ASC)
Order by the deliverymoduleid column
at line 64
ChildAreaDeliveryModuleQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 64
ChildAreaDeliveryModuleQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 64
ChildAreaDeliveryModuleQuery
groupById()
Group by the id column
at line 64
ChildAreaDeliveryModuleQuery
groupByAreaId()
Group by the area_id column
at line 64
ChildAreaDeliveryModuleQuery
groupByDeliveryModuleId()
Group by the deliverymoduleid column
at line 64
ChildAreaDeliveryModuleQuery
groupByCreatedAt()
Group by the created_at column
at line 64
ChildAreaDeliveryModuleQuery
groupByUpdatedAt()
Group by the updated_at column
at line 64
ChildAreaDeliveryModuleQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 64
ChildAreaDeliveryModuleQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 64
ChildAreaDeliveryModuleQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 64
ChildAreaDeliveryModuleQuery
leftJoinArea($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Area relation
at line 64
ChildAreaDeliveryModuleQuery
rightJoinArea($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Area relation
at line 64
ChildAreaDeliveryModuleQuery
innerJoinArea($relationAlias = null)
Adds a INNER JOIN clause to the query using the Area relation
at line 64
ChildAreaDeliveryModuleQuery
leftJoinModule($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Module relation
at line 64
ChildAreaDeliveryModuleQuery
rightJoinModule($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Module relation
at line 64
ChildAreaDeliveryModuleQuery
innerJoinModule($relationAlias = null)
Adds a INNER JOIN clause to the query using the Module relation
at line 64
ChildAreaDeliveryModule
findOne(
ConnectionInterface $con = null)
Return the first ChildAreaDeliveryModule matching the query
at line 64
ChildAreaDeliveryModule
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildAreaDeliveryModule matching the query, or a new ChildAreaDeliveryModule object populated from the query conditions when no match is found
at line 64
ChildAreaDeliveryModule
findOneById(
int $id)
Return the first ChildAreaDeliveryModule filtered by the id column
at line 64
ChildAreaDeliveryModule
findOneByAreaId(
int $area_id)
Return the first ChildAreaDeliveryModule filtered by the area_id column
at line 64
ChildAreaDeliveryModule
findOneByDeliveryModuleId(
int $delivery_module_id)
Return the first ChildAreaDeliveryModule filtered by the deliverymoduleid column
at line 64
ChildAreaDeliveryModule
findOneByCreatedAt(
string $created_at)
Return the first ChildAreaDeliveryModule filtered by the created_at column
at line 64
ChildAreaDeliveryModule
findOneByUpdatedAt(
string $updated_at)
Return the first ChildAreaDeliveryModule filtered by the updated_at column
at line 64
array
findById(
int $id)
Return ChildAreaDeliveryModule objects filtered by the id column
at line 64
array
findByAreaId(
int $area_id)
Return ChildAreaDeliveryModule objects filtered by the area_id column
at line 64
array
findByDeliveryModuleId(
int $delivery_module_id)
Return ChildAreaDeliveryModule objects filtered by the deliverymoduleid column
at line 64
array
findByCreatedAt(
string $created_at)
Return ChildAreaDeliveryModule objects filtered by the created_at column
at line 64
array
findByUpdatedAt(
string $updated_at)
Return ChildAreaDeliveryModule objects filtered by the updated_at column