Add query to Salesforce class