ExportCategoryQuery
class ExportCategoryQuery extends ModelCriteria
Base class that represents a query for the 'export_category' table.
Methods
Initializes internal state of \Thelia\Model\Base\ExportCategoryQuery object.
Returns a new ChildExportCategoryQuery 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 ref column
Filter the query on the position 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\Export object
Adds a JOIN clause to the query using the Export relation
Use the Export relation Export object
Filter the query by a related \Thelia\Model\ExportCategoryI18n object
Adds a JOIN clause to the query using the ExportCategoryI18n relation
Use the ExportCategoryI18n relation ExportCategoryI18n object
Deletes all rows from the export_category table.
Performs a DELETE on the database, given a ChildExportCategory or Criteria object OR a primary key value.
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query and hydrates the related I18n object.
Use the I18n relation query object
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 ref column
Order by the position column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the ref column
Group by the position 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 Export relation
Adds a RIGHT JOIN clause to the query using the Export relation
Adds a INNER JOIN clause to the query using the Export relation
Adds a LEFT JOIN clause to the query using the ExportCategoryI18n relation
Adds a RIGHT JOIN clause to the query using the ExportCategoryI18n relation
Adds a INNER JOIN clause to the query using the ExportCategoryI18n relation
Return the first ChildExportCategory matching the query
Return the first ChildExportCategory matching the query, or a new ChildExportCategory object populated from the query conditions when no match is found
Return the first ChildExportCategory filtered by the id column
Return the first ChildExportCategory filtered by the ref column
Return the first ChildExportCategory filtered by the position column
Return the first ChildExportCategory filtered by the created_at column
Return the first ChildExportCategory filtered by the updated_at column
Return ChildExportCategory objects filtered by the id column
Return ChildExportCategory objects filtered by the ref column
Return ChildExportCategory objects filtered by the position column
Return ChildExportCategory objects filtered by the created_at column
Return ChildExportCategory objects filtered by the updated_at column
Details
at line 75
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ExportCategory',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ExportCategoryQuery object.
at line 88
static
ExportCategoryQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildExportCategoryQuery object.
at line 118
ExportCategory|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 200
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 221
ExportCategoryQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 234
ExportCategoryQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 258
ExportCategoryQuery
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 296
ExportCategoryQuery
filterByRef(
string $ref = null,
string $comparison = null)
Filter the query on the ref column
Example usage:
$query->filterByRef('fooValue'); // WHERE ref = 'fooValue'
$query->filterByRef('%fooValue%'); // WHERE ref LIKE '%fooValue%'
at line 328
ExportCategoryQuery
filterByPosition(
mixed $position = null,
string $comparison = null)
Filter the query on the position column
Example usage:
$query->filterByPosition(1234); // WHERE position = 1234
$query->filterByPosition(array(12, 34)); // WHERE position IN (12, 34)
$query->filterByPosition(array('min' => 12)); // WHERE position > 12
at line 371
ExportCategoryQuery
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 414
ExportCategoryQuery
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 445
ExportCategoryQuery
filterByExport(
Export|ObjectCollection $export,
string $comparison = null)
Filter the query by a related \Thelia\Model\Export object
at line 468
ExportCategoryQuery
joinExport(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Export relation
at line 503
ExportQuery
useExportQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Export relation Export object
at line 518
ExportCategoryQuery
filterByExportCategoryI18n(
ExportCategoryI18n|ObjectCollection $exportCategoryI18n,
string $comparison = null)
Filter the query by a related \Thelia\Model\ExportCategoryI18n object
at line 541
ExportCategoryQuery
joinExportCategoryI18n(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the ExportCategoryI18n relation
at line 576
ExportCategoryI18nQuery
useExportCategoryI18nQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the ExportCategoryI18n relation ExportCategoryI18n object
at line 590
ExportCategoryQuery
prune(
ExportCategory $exportCategory = null)
Exclude object from result
at line 605
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the export_category table.
at line 642
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildExportCategory or Criteria object OR a primary key value.
at line 685
ExportCategoryQuery
joinI18n(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the i18n relation
at line 703
ExportCategoryQuery
joinWithI18n(
string $locale = 'en_US',
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
at line 724
ExportCategoryI18nQuery
useI18nQuery(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the I18n relation query object
at line 740
ExportCategoryQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 752
ExportCategoryQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 762
ExportCategoryQuery
lastUpdatedFirst()
Order by update date desc
at line 772
ExportCategoryQuery
firstUpdatedFirst()
Order by update date asc
at line 782
ExportCategoryQuery
lastCreatedFirst()
Order by create date desc
at line 792
ExportCategoryQuery
firstCreatedFirst()
Order by create date asc
at line 65
ChildExportCategoryQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 65
ChildExportCategoryQuery
orderByRef($order = Criteria::ASC)
Order by the ref column
at line 65
ChildExportCategoryQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 65
ChildExportCategoryQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 65
ChildExportCategoryQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 65
ChildExportCategoryQuery
groupById()
Group by the id column
at line 65
ChildExportCategoryQuery
groupByRef()
Group by the ref column
at line 65
ChildExportCategoryQuery
groupByPosition()
Group by the position column
at line 65
ChildExportCategoryQuery
groupByCreatedAt()
Group by the created_at column
at line 65
ChildExportCategoryQuery
groupByUpdatedAt()
Group by the updated_at column
at line 65
ChildExportCategoryQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 65
ChildExportCategoryQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 65
ChildExportCategoryQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 65
ChildExportCategoryQuery
leftJoinExport($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Export relation
at line 65
ChildExportCategoryQuery
rightJoinExport($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Export relation
at line 65
ChildExportCategoryQuery
innerJoinExport($relationAlias = null)
Adds a INNER JOIN clause to the query using the Export relation
at line 65
ChildExportCategoryQuery
leftJoinExportCategoryI18n($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ExportCategoryI18n relation
at line 65
ChildExportCategoryQuery
rightJoinExportCategoryI18n($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ExportCategoryI18n relation
at line 65
ChildExportCategoryQuery
innerJoinExportCategoryI18n($relationAlias = null)
Adds a INNER JOIN clause to the query using the ExportCategoryI18n relation
at line 65
ChildExportCategory
findOne(
ConnectionInterface $con = null)
Return the first ChildExportCategory matching the query
at line 65
ChildExportCategory
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildExportCategory matching the query, or a new ChildExportCategory object populated from the query conditions when no match is found
at line 65
ChildExportCategory
findOneById(
int $id)
Return the first ChildExportCategory filtered by the id column
at line 65
ChildExportCategory
findOneByRef(
string $ref)
Return the first ChildExportCategory filtered by the ref column
at line 65
ChildExportCategory
findOneByPosition(
int $position)
Return the first ChildExportCategory filtered by the position column
at line 65
ChildExportCategory
findOneByCreatedAt(
string $created_at)
Return the first ChildExportCategory filtered by the created_at column
at line 65
ChildExportCategory
findOneByUpdatedAt(
string $updated_at)
Return the first ChildExportCategory filtered by the updated_at column
at line 65
array
findById(
int $id)
Return ChildExportCategory objects filtered by the id column
at line 65
array
findByRef(
string $ref)
Return ChildExportCategory objects filtered by the ref column
at line 65
array
findByPosition(
int $position)
Return ChildExportCategory objects filtered by the position column
at line 65
array
findByCreatedAt(
string $created_at)
Return ChildExportCategory objects filtered by the created_at column
at line 65
array
findByUpdatedAt(
string $updated_at)
Return ChildExportCategory objects filtered by the updated_at column