添加可用数据例子

This commit is contained in:
xgc 2024-05-12 04:32:04 +08:00
parent 8d2ecab462
commit 140254bae3

View File

@ -52,6 +52,10 @@ public class ApplicationRunnerTest implements ApplicationRunner {
}
MilvusResp<UpsertResp> update = mapper.updateById(face);
log.info("update--{}", JSONObject.toJSONString(update));
//id查询
MilvusResp<List<Face>> query2 = mapper.getById(1l);
log.info("query--getById---{}", JSONObject.toJSONString(query2));
//删除
MilvusResp<DeleteResp> remove = mapper.removeById(1l);
log.info("remove--{}", JSONObject.toJSONString(remove));