Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 968 for DELETE (0.1 sec)

  1. cni/pkg/log/uds.go

    		return cniLog{}, false
    	}
    	if err := json.Unmarshal(raw["time"], &msg.Time); err != nil {
    		log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    		return cniLog{}, false
    	}
    	delete(raw, "msg")
    	delete(raw, "level")
    	delete(raw, "time")
    	msg.Arbitrary = make(map[string]any, len(raw))
    	for k, v := range raw {
    		var res any
    		if err := json.Unmarshal(v, &res); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        }
    
        public void store(final BadWord badWord) {
    
            badWordBhv.insertOrUpdate(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        public void delete(final BadWord badWord) {
    
            badWordBhv.delete(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        protected void setupListCondition(final BadWordCB cb, final BadWordPager badWordPager) {
            if (badWordPager.id != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

        }
    
        // DELETE /api/admin/dataconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            dataConfigService.getDataConfig(id).ifPresent(entity -> {
                try {
                    dataConfigService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

        }
    
        // DELETE /api/admin/dict/synonym/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            synonymService.getSynonymItem(dictId, id).ifPresent(entity -> {
                synonymService.delete(dictId, entity);
                saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. docs_src/sql_databases/tutorial002.py

        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: Session = Depends(get_session)):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs_src/sql_databases/tutorial002_an_py310.py

        session.add(hero_db)
        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(head.method).isEqualTo("HEAD")
        assertThat(head.body).isNull()
    
        val delete = Request.Builder().url("http://localhost/api").delete().build()
        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post = Request.Builder().url("http://localhost/api").post(body).build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            groupService.getGroup(id).ifPresent(entity -> {
                try {
                    groupService.delete(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsertOrUpdate(entity, null, null);
        }
    
        public void delete(SearchLog entity) {
            doDelete(entity, null);
        }
    
        public void delete(SearchLog entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. internal/event/target/postgresql.go

    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    	psqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES ($1, $2);`
    )
    
    // Postgres constants
    const (
    	PostgresFormat             = "format"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top