parent-child relationship query in simple_salesforce python, extracting from ordered dicts
问题 I'm trying to query information from salesforce using the simple_salesforce package in python. The problem is that it's nesting fields that are a part of a parent-child relationship into an ordered dict within an ordered dict I want.. from the Opportunity object, to find the id, and the accountid associated with that record. The SOQL query may look like.. query = "select id, account.id from opportunity where closedate = last_n_days:5" in SOQL (salesforce object query language), a dot denotes