mirror of
https://gitee.com/dromara/MilvusPlus.git
synced 2025-12-06 17:08:27 +08:00
更新mapper,统一queryWrapper,区分标量查询query,向量查询search
This commit is contained in:
parent
25f9174df8
commit
2f343be393
@ -64,11 +64,11 @@ public class MilvusMapper<T> {
|
||||
LambdaDeleteWrapper<T> lambda = deleteWrapper();
|
||||
return lambda.removeById(ids);
|
||||
}
|
||||
public MilvusResp<UpsertResp> updateById(T ... entity){
|
||||
public MilvusResp<UpsertResp> updateById(T entity){
|
||||
LambdaUpdateWrapper<T> lambda = updateWrapper();
|
||||
return lambda.updateById(entity);
|
||||
}
|
||||
public MilvusResp<InsertResp> insert(T ... entity){
|
||||
public MilvusResp<InsertResp> insert(T entity){
|
||||
LambdaInsertWrapper<T> lambda = insertWrapper();
|
||||
return lambda.insert(entity);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user