mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update mongodb
This commit is contained in:
@@ -60,6 +60,7 @@ namespace MongoDbTest
|
|||||||
if (list2.Count != 1) Cases.ThrowUnitError();
|
if (list2.Count != 1) Cases.ThrowUnitError();
|
||||||
if (!list2.First().Ids.Contains(x)) Cases.ThrowUnitError();
|
if (!list2.First().Ids.Contains(x)) Cases.ThrowUnitError();
|
||||||
var list3 = db.Queryable<IdsModel>().Where(it => !it.Ids.Contains(x)).ToList();
|
var list3 = db.Queryable<IdsModel>().Where(it => !it.Ids.Contains(x)).ToList();
|
||||||
|
if(list3.Any(s=>s.Ids.Contains(x))) Cases.ThrowUnitError();
|
||||||
}
|
}
|
||||||
|
|
||||||
[SqlSugar.SugarTable("UnitStudentdfsds3zzz1")]
|
[SqlSugar.SugarTable("UnitStudentdfsds3zzz1")]
|
||||||
|
Reference in New Issue
Block a user