Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

28
LINES

< > BotCompany Repo | #1030882 // DB quickImport reload test, cmodule2 version, shortened [OK]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1059K of libraries. Click here for Pure Java version (10904L/59K).

1  
!7
2  
3  
concept Bla {
4  
  S name;
5  
}
6  
7  
cmodule2 QuickReloadTest > DynPrintLog {
8  
  transient virtual Concepts oldConcepts;
9  
  
10  
  start {
11  
    print(+oldConcepts);
12  
    print(+Bla);
13  
    db();
14  
    printVars_str(concepts := db_mainConcepts().concepts);
15  
    pnlStruct(list(Bla));
16  
    db_checkConceptIDs();
17  
    print(conceptsWhere(Bla, name := "yo"));
18  
    uniq(Bla, name := "yo");
19  
  }
20  
  
21  
  Concepts _getReloadData() {
22  
    ret print("_getReloadData", db_mainConcepts());
23  
  }
24  
  
25  
  void _setReloadData_early(virtual Concepts data) {
26  
    quickImportMainConcepts(oldConcepts = data);
27  
  }
28  
}

Author comment

Began life as a copy of #1030841

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030882
Snippet name: DB quickImport reload test, cmodule2 version, shortened [OK]
Eternal ID of this version: #1030882/3
Text MD5: af074dcadf2101c0c5749b02901de39d
Transpilation MD5: 84a5348ea498c59224806f6265756dca
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-05 23:12:51
Source code size: 594 bytes / 28 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 178
Version history: 2 change(s)
Referenced in: [show references]