public function SalesforceMappingInterface::getPullQuery in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::getPullQuery()
- 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::getPullQuery()
Generate a select query to pull records from Salesforce for this mapping.
Parameters
array $mapped_fields: Fetch only these fields, if given, otherwise fetch all mapped fields.
int $start: Timestamp of starting window from which to pull records. If omitted, use ::getLastPullTime()
int $stop: Timestamp of ending window from which to pull records. If omitted, use "now".
Return value
\Drupal\salesforce\SelectQuery The pull query.
1 method overrides SalesforceMappingInterface::getPullQuery()
- SalesforceMapping::getPullQuery in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Generate a select query to pull records from Salesforce for this mapping.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMappingInterface.php, line 222
Class
- SalesforceMappingInterface
- Mapping between Drupal and Salesforce records.
Namespace
Drupal\salesforce_mapping\EntityCode
public function getPullQuery(array $mapped_fields = [], $start = 0, $stop = 0);