AnsweredAssumed Answered

direction of arcpy.da.  Search and UpdateCursors

Question asked by Davepike101@hotmail.com on Aug 4, 2020
Latest reply on Aug 5, 2020 by Davepike101@hotmail.com

If I'm using an arcpy.da.UpdateCursor to search for an ObjectID and delete the entry/row, is it possible to walk the cursor backwards for sake of speed?

Knowing that my feature has recently been created and would be near the last index, would the cursor be faster with a for loop going backwards (if such a thing) and a break statement after the deletion?

Or is the cursor set up more like a set, and unordered by OID?

 

Cheers

Outcomes