Closed melinyi closed 1 year ago
`Class A { public int Id { get; set; } public string Hash { get; set; } public List Bs{ get; set; } = new List(); }
Class B { public string Name{ get; set; } public string Url{ get; set; } }
query.Where.Add(Query.Contains("Bs", "my word"))
var Collection = DB.ILiteCollection.Find(query).ToList(); `
return no result,no working
SELECT $ FROM A where Bs[*].name any like "%xx%";
ok
`Class A { public int Id { get; set; } public string Hash { get; set; } public List Bs{ get; set; } = new List(); }
Class B { public string Name{ get; set; } public string Url{ get; set; } }
query.Where.Add(Query.Contains("Bs", "my word"))
var Collection = DB.ILiteCollection.Find(query).ToList(); `
return no result,no working