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

8
LINES

< > BotCompany Repo | #1008622 // indexConceptField - add index to a field of a concept class - idempotent

JavaX fragment (include)

static void indexConceptField(Class<? extends Concept> c, S field) {
  indexConceptField(db_mainConcepts(), c, field);
}

static void indexConceptField(Concepts concepts, Class<? extends Concept> c, S field) {
  if (!isConceptFieldIndexed(concepts, c, field))
    new ConceptFieldIndex(concepts, c, field);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008622
Snippet name: indexConceptField - add index to a field of a concept class - idempotent
Eternal ID of this version: #1008622/3
Text MD5: 8a21aaceb42def4f38fb81eac98249d4
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-29 20:51:18
Source code size: 315 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 626 / 660
Version history: 2 change(s)
Referenced in: [show references]