ProductSaleElementsProductDocumentQuery
class ProductSaleElementsProductDocumentQuery extends ModelCriteria
Base class that represents a query for the 'productsaleelementsproductdocument' table.
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
at line 66
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ProductSaleElementsProductDocument',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ProductSaleElementsProductDocumentQuery object.
at line 79
static
ProductSaleElementsProductDocumentQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildProductSaleElementsProductDocumentQuery object.
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);
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);
at line 212
ProductSaleElementsProductDocumentQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 225
ProductSaleElementsProductDocumentQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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
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
at line 366
ProductSaleElementsProductDocumentQuery
filterByProductSaleElements(
ProductSaleElements|ObjectCollection $productSaleElements,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductSaleElements object
at line 391
ProductSaleElementsProductDocumentQuery
joinProductSaleElements(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductSaleElements relation
at line 426
ProductSaleElementsQuery
useProductSaleElementsQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductSaleElements relation ProductSaleElements object
at line 441
ProductSaleElementsProductDocumentQuery
filterByProductDocument(
ProductDocument|ObjectCollection $productDocument,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductDocument object
at line 466
ProductSaleElementsProductDocumentQuery
joinProductDocument(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductDocument relation
at line 501
ProductDocumentQuery
useProductDocumentQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductDocument relation ProductDocument object
at line 515
ProductSaleElementsProductDocumentQuery
prune(
ProductSaleElementsProductDocument $productSaleElementsProductDocument = null)
Exclude object from result
at line 530
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the productsaleelementsproductdocument table.
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.
at line 56
ChildProductSaleElementsProductDocumentQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 56
ChildProductSaleElementsProductDocumentQuery
orderByProductSaleElementsId($order = Criteria::ASC)
Order by the productsaleelements_id column
at line 56
ChildProductSaleElementsProductDocumentQuery
orderByProductDocumentId($order = Criteria::ASC)
Order by the productdocumentid column
at line 56
ChildProductSaleElementsProductDocumentQuery
groupById()
Group by the id column
at line 56
ChildProductSaleElementsProductDocumentQuery
groupByProductSaleElementsId()
Group by the productsaleelements_id column
at line 56
ChildProductSaleElementsProductDocumentQuery
groupByProductDocumentId()
Group by the productdocumentid column
at line 56
ChildProductSaleElementsProductDocumentQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 56
ChildProductSaleElementsProductDocumentQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 56
ChildProductSaleElementsProductDocumentQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 56
ChildProductSaleElementsProductDocumentQuery
leftJoinProductSaleElements($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductSaleElements relation
at line 56
ChildProductSaleElementsProductDocumentQuery
rightJoinProductSaleElements($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
at line 56
ChildProductSaleElementsProductDocumentQuery
innerJoinProductSaleElements($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
at line 56
ChildProductSaleElementsProductDocumentQuery
leftJoinProductDocument($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductDocument relation
at line 56
ChildProductSaleElementsProductDocumentQuery
rightJoinProductDocument($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductDocument relation
at line 56
ChildProductSaleElementsProductDocumentQuery
innerJoinProductDocument($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductDocument relation
at line 56
ChildProductSaleElementsProductDocument
findOne(
ConnectionInterface $con = null)
Return the first ChildProductSaleElementsProductDocument matching the query
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
at line 56
ChildProductSaleElementsProductDocument
findOneById(
int $id)
Return the first ChildProductSaleElementsProductDocument filtered by the id column
at line 56
ChildProductSaleElementsProductDocument
findOneByProductSaleElementsId(
int $product_sale_elements_id)
Return the first ChildProductSaleElementsProductDocument filtered by the productsaleelements_id column
at line 56
ChildProductSaleElementsProductDocument
findOneByProductDocumentId(
int $product_document_id)
Return the first ChildProductSaleElementsProductDocument filtered by the productdocumentid column
at line 56
array
findById(
int $id)
Return ChildProductSaleElementsProductDocument objects filtered by the id column
at line 56
array
findByProductSaleElementsId(
int $product_sale_elements_id)
Return ChildProductSaleElementsProductDocument objects filtered by the productsaleelements_id column
at line 56
array
findByProductDocumentId(
int $product_document_id)
Return ChildProductSaleElementsProductDocument objects filtered by the productdocumentid column