Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,356 for insert (0.07 sec)

  1. callbacks/callbacks.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    var (
    	createClauses = []string{"INSERT", "VALUES", "ON CONFLICT"}
    	queryClauses  = []string{"SELECT", "FROM", "WHERE", "GROUP BY", "ORDER BY", "LIMIT", "FOR"}
    	updateClauses = []string{"UPDATE", "SET", "WHERE"}
    	deleteClauses = []string{"DELETE", "FROM", "WHERE"}
    )
    
    type Config struct {
    	LastInsertIDReversed bool
    	CreateClauses        []string
    	QueryClauses         []string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

        //                                                                              ======
        public void insert(User entity) {
            doInsert(entity, null);
        }
    
        public void insert(User entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(User entity) {
            doUpdate(entity, null);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/bsentity/BsRole.java

            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(name);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

            return userInfoBhv.selectByPK(userCode).map(userInfo -> {
                final FavoriteLog favoriteLog = new FavoriteLog();
                favoriteLogLambda.accept(userInfo, favoriteLog);
                favoriteLogBhv.insert(favoriteLog);
                if (fessConfig.isLoggingSearchUseLogfile()) {
                    ComponentUtil.getSearchLogHelper().writeSearchLogEvent(favoriteLog);
                }
                return true;
            }).orElse(false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsCrawlingInfoParam.java

            sb.append(dm).append(createdTime);
            sb.append(dm).append(key);
            sb.append(dm).append(value);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

             assertEquals(5, itemList1.size());
    
             final SynonymItem synonymItem1 = new SynonymItem(0, new String[] { "z1", "z2" }, new String[] { "Z1", "Z2" });
             synonymFile.insert(synonymItem1);
             final PagingList<SynonymItem> itemList2 = synonymFile.selectList(0, 20);
             assertEquals(6, itemList2.size());
             assertEquals("z1", itemList2.get(5).getInputs()[0]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/bsentity/BsFavoriteLog.java

            sb.append(dm).append(queryId);
            sb.append(dm).append(url);
            sb.append(dm).append(userInfoId);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/GroupService.java

                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    
        public void store(final Group group) {
            ComponentUtil.getLdapManager().insert(group);
    
            groupBhv.insertOrUpdate(group, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final Group group) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/RoleService.java

        }
    
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    
            roleBhv.insertOrUpdate(role, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final Role role) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        }
    
        public void store(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
                    file.insert(charMappingItem);
                } else {
                    file.update(charMappingItem);
                }
            });
        }
    
        public void delete(final String dictId, final CharMappingItem charMappingItem) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top