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

20
LINES

< > BotCompany Repo | #1027413 // AI Packages CRUD

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

Uses 911K of libraries. Click here for Pure Java version (11491L/61K).

!7

concept AIPackage {
  S text;
  S verificationResult;
  
  sS _fieldOrder = "text verificationResult";
}

cmodule AIPackagesCRUD > DynCRUD<AIPackage> {
  // API
  
  void storeAIPackage(S text, S verificationResult) {
    cset(uniq AIPackage(+text), +verificationResult);
  }
  
  start {
    crud.multiLineFields = litset("text");
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027413
Snippet name: AI Packages CRUD
Eternal ID of this version: #1027413/3
Text MD5: f2670f409d4b88d8ee5c6ff7245befd0
Transpilation MD5: 2e261cc8cdd32ac2cd83832613312ded
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-18 15:57:39
Source code size: 360 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 125 / 285
Version history: 2 change(s)
Referenced in: [show references]