API - python - DISTINCT help needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rmorgan
    Member
    • Feb 2019
    • 65

    #1

    API - python - DISTINCT help needed

    I have some python code that I use for reporting. I want to get the dates value which is a small set of unique dates from thousands of results. My SQL is not that great but I thought that I could use the Distinct keyword ("DISTINCT": True) to get the uniue values from the database. Currently it makes no difference in or out and I have to parse through all of the results using python which seems very inefficient.

    Anbody advise on this?

    Click image for larger version  Name:	image.png Views:	0 Size:	61.3 KB ID:	121959
Working...