static bool deleteAllConceptsOfType(S progID, S conceptClass) { RemoteDB db = new RemoteDB(progID); if (db.functional()) { L<RC> list = db.xlist(conceptClass); if (empty(list)) false; print("Deleting " + n(list, "concepts")); db.xdelete(list); true; } throw todo("Can't do this offline yet (streamline saving first)"); //Concepts c = new Concepts(progID).safeLoad(); }
Began life as a copy of #1006274
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006296 |
| Snippet name: | deleteAllConceptsOfType [also remote/from disk] |
| Eternal ID of this version: | #1006296/1 |
| Text MD5: | 0dc27cd410a93b121a7b6bb6f8db6242 |
| Author: | stefan |
| Category: | javax / concepts / rpc |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-12-26 20:25:07 |
| Source code size: | 409 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 725 / 719 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |