mirror of
https://gitee.com/dromara/MilvusPlus.git
synced 2025-12-06 17:08:27 +08:00
添加可用数据例子
This commit is contained in:
parent
8d2ecab462
commit
140254bae3
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user