You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fact]
public void TestBoolSelects()
{
var obj = new Person { Name = "steve", Age = 33, IsEngineer = true, Date = DateTime.Now };
var collection = new RedisCollection<Person>(_connection);
collection.Insert(obj);
var res = collection.Where(x => x.Age == obj.Age).Select(x => new Result { Age = x.Age, IsEngineer = x.IsEngineer }).ToList();
Assert.NotEmpty(res);
collection.Delete(obj);
}
If you use Select to get only the required fields, then for types
bool
,byte[]
,TimeSpan
it will not work. Is there anything you can do about it?The text was updated successfully, but these errors were encountered: