Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] How to Create Recursive Function ?

$
0
0
What if you don't delete the record?
  • Use the auto-increment to get all the ids sequential.
  • Create an isDeleted attribute to mark the ones deleted (instead of really deleting them)
  • Query for the first isDeleted in table and Update record.

The other alternatives I see are: a very complex variable with a list of deleted ids; or to dynamically generate a table will all ids until "table length +1", join, and search for the holes.

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>