Replies: 1 comment 2 replies
-
|
Remove |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see sample to query a model using the ff:
var products = await repository.Query()
.Where(x => x.Name, OdooOperator.EqualsTo, "test product name")
.Where(x => x.WriteDate, OdooOperator.GreaterThanOrEqualTo, new DateTime(2020, 12, 2))
.Select(x => new
{
x.Name,
x.Description,
x.WriteDate
})
.OrderByDescending(x => x.Id)
.Take(10)
.ToListAsync();
How do i select all fields/colums or the whole record?
TIA,
Mu
Beta Was this translation helpful? Give feedback.
All reactions