• Noven Gong
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi, 

I'm using Simple Salesforce in python to get some fields needed in our analysis; however, apart from  "Name" & "ID" , is there any other variables I can add to the following query?

sf.query("SELECT ID, Name FROM Opportunity")

I am new to Salesforce and Simple Salesforce; I wish to add a time constraint in the query above so that it only returns the recent one year's data. Is there any way to implement this?

Thanks!!