I want to express this query in TypeORM:
select * from user where x > 5 and x < 10
or other variations, like:
select * from user where x > '2020-01-01' and x < '2020-10-10'
select * from user where x >= 5.5 and x <> 10
How do I do it?
userRepo.find({where: {x: MoreThan(5), x: LessThan(10)}})
is obviously not legal.