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).

!7

concept Bla {
  S name;
}

cmodule2 QuickReloadTest > DynPrintLog {
  transient virtual Concepts oldConcepts;
  
  start {
    print(+oldConcepts);
    print(+Bla);
    db();
    printVars_str(concepts := db_mainConcepts().concepts);
    pnlStruct(list(Bla));
    db_checkConceptIDs();
    print(conceptsWhere(Bla, name := "yo"));
    uniq(Bla, name := "yo");
  }
  
  Concepts _getReloadData() {
    ret print("_getReloadData", db_mainConcepts());
  }
  
  void _setReloadData_early(virtual Concepts data) {
    quickImportMainConcepts(oldConcepts = data);
  }
}

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: 157 / 259
Version history: 2 change(s)
Referenced in: [show references]