ProductSaleElementsProductDocumentQuery
class ProductSaleElementsProductDocumentQuery extends ProductSaleElementsProductDocumentQuery
Skeleton subclass for performing query and update operations on the 'productsaleelementsproductdocument' 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\ProductSaleElementsProductDocumentQuery object.
Returns a new ChildProductSaleElementsProductDocumentQuery 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 productsaleelements_id column
Filter the query on the productdocumentid column
Filter the query by a related \Thelia\Model\ProductSaleElements object
Adds a JOIN clause to the query using the ProductSaleElements relation
Use the ProductSaleElements relation ProductSaleElements object
Filter the query by a related \Thelia\Model\ProductDocument object
Adds a JOIN clause to the query using the ProductDocument relation
Use the ProductDocument relation ProductDocument object
Exclude object from result
Deletes all rows from the productsaleelementsproductdocument table.
Performs a DELETE on the database, given a ChildProductSaleElementsProductDocument or Criteria object OR a primary key value.
Order by the id column
Order by the productsaleelements_id column
Order by the productdocumentid column
Group by the id column
Group by the productsaleelements_id column
Group by the productdocumentid 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 ProductSaleElements relation
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
Adds a LEFT JOIN clause to the query using the ProductDocument relation
Adds a RIGHT JOIN clause to the query using the ProductDocument relation
Adds a INNER JOIN clause to the query using the ProductDocument relation
Return the first ChildProductSaleElementsProductDocument matching the query
Return the first ChildProductSaleElementsProductDocument matching the query, or a new ChildProductSaleElementsProductDocument object populated from the query conditions when no match is found
Return the first ChildProductSaleElementsProductDocument filtered by the id column
Return the first ChildProductSaleElementsProductDocument filtered by the productsaleelements_id column
Return the first ChildProductSaleElementsProductDocument filtered by the productdocumentid column
Return ChildProductSaleElementsProductDocument objects filtered by the id column
Return ChildProductSaleElementsProductDocument objects filtered by the productsaleelements_id column
Return ChildProductSaleElementsProductDocument objects filtered by the productdocumentid column
Details
in
ProductSaleElementsProductDocumentQuery at line 66
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ProductSaleElementsProductDocument',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ProductSaleElementsProductDocumentQuery object.
in
ProductSaleElementsProductDocumentQuery at line 79
static
ProductSaleElementsProductDocumentQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildProductSaleElementsProductDocumentQuery object.
in
ProductSaleElementsProductDocumentQuery at line 109
ProductSaleElementsProductDocument|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
ProductSaleElementsProductDocumentQuery at line 191
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
ProductSaleElementsProductDocumentQuery at line 212
ProductSaleElementsProductDocumentQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
ProductSaleElementsProductDocumentQuery at line 225
ProductSaleElementsProductDocumentQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
ProductSaleElementsProductDocumentQuery at line 249
ProductSaleElementsProductDocumentQuery
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
ProductSaleElementsProductDocumentQuery at line 292
ProductSaleElementsProductDocumentQuery
filterByProductSaleElementsId(
mixed $productSaleElementsId = null,
string $comparison = null)
Filter the query on the productsaleelements_id column
Example usage:
$query->filterByProductSaleElementsId(1234); // WHERE productsaleelementsid = 1234
$query->filterByProductSaleElementsId(array(12, 34)); // WHERE productsaleelementsid IN (12, 34)
$query->filterByProductSaleElementsId(array('min' => 12)); // WHERE productsaleelements_id > 12
in
ProductSaleElementsProductDocumentQuery at line 335
ProductSaleElementsProductDocumentQuery
filterByProductDocumentId(
mixed $productDocumentId = null,
string $comparison = null)
Filter the query on the productdocumentid column
Example usage:
$query->filterByProductDocumentId(1234); // WHERE productdocumentid = 1234
$query->filterByProductDocumentId(array(12, 34)); // WHERE productdocumentid IN (12, 34)
$query->filterByProductDocumentId(array('min' => 12)); // WHERE productdocumentid > 12
in
ProductSaleElementsProductDocumentQuery at line 366
ProductSaleElementsProductDocumentQuery
filterByProductSaleElements(
ProductSaleElements|ObjectCollection $productSaleElements,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductSaleElements object
in
ProductSaleElementsProductDocumentQuery at line 391
ProductSaleElementsProductDocumentQuery
joinProductSaleElements(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductDocumentQuery at line 426
ProductSaleElementsQuery
useProductSaleElementsQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductSaleElements relation ProductSaleElements object
in
ProductSaleElementsProductDocumentQuery at line 441
ProductSaleElementsProductDocumentQuery
filterByProductDocument(
ProductDocument|ObjectCollection $productDocument,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductDocument object
in
ProductSaleElementsProductDocumentQuery at line 466
ProductSaleElementsProductDocumentQuery
joinProductDocument(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductDocument relation
in
ProductSaleElementsProductDocumentQuery at line 501
ProductDocumentQuery
useProductDocumentQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductDocument relation ProductDocument object
in
ProductSaleElementsProductDocumentQuery at line 515
ProductSaleElementsProductDocumentQuery
prune(
ProductSaleElementsProductDocument $productSaleElementsProductDocument = null)
Exclude object from result
in
ProductSaleElementsProductDocumentQuery at line 530
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the productsaleelementsproductdocument table.
in
ProductSaleElementsProductDocumentQuery at line 567
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildProductSaleElementsProductDocument or Criteria object OR a primary key value.
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
orderById($order = Criteria::ASC)
Order by the id column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
orderByProductSaleElementsId($order = Criteria::ASC)
Order by the productsaleelements_id column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
orderByProductDocumentId($order = Criteria::ASC)
Order by the productdocumentid column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
groupById()
Group by the id column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
groupByProductSaleElementsId()
Group by the productsaleelements_id column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
groupByProductDocumentId()
Group by the productdocumentid column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
leftJoinProductSaleElements($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
rightJoinProductSaleElements($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
innerJoinProductSaleElements($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
leftJoinProductDocument($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductDocument relation
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
rightJoinProductDocument($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductDocument relation
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocumentQuery
innerJoinProductDocument($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductDocument relation
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocument
findOne(
ConnectionInterface $con = null)
Return the first ChildProductSaleElementsProductDocument matching the query
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocument
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildProductSaleElementsProductDocument matching the query, or a new ChildProductSaleElementsProductDocument object populated from the query conditions when no match is found
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocument
findOneById(
int $id)
Return the first ChildProductSaleElementsProductDocument filtered by the id column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocument
findOneByProductSaleElementsId(
int $product_sale_elements_id)
Return the first ChildProductSaleElementsProductDocument filtered by the productsaleelements_id column
in
ProductSaleElementsProductDocumentQuery at line 56
ChildProductSaleElementsProductDocument
findOneByProductDocumentId(
int $product_document_id)
Return the first ChildProductSaleElementsProductDocument filtered by the productdocumentid column
in
ProductSaleElementsProductDocumentQuery at line 56
array
findById(
int $id)
Return ChildProductSaleElementsProductDocument objects filtered by the id column
in
ProductSaleElementsProductDocumentQuery at line 56
array
findByProductSaleElementsId(
int $product_sale_elements_id)
Return ChildProductSaleElementsProductDocument objects filtered by the productsaleelements_id column
in
ProductSaleElementsProductDocumentQuery at line 56
array
findByProductDocumentId(
int $product_document_id)
Return ChildProductSaleElementsProductDocument objects filtered by the productdocumentid column