Linq in Rust
Linq query in Rust (created by macros).
- Inspired by LINQ in .NET.
- What's LINQ
This project is under development!
Quick Start
This is an example:
use linq;
If you are familier with LINQ in C#, you will find this easy to use.
Linq Keywords
- from
- in
- select
- where
- orderby
Query Operators
All italic items mean they are not in roadmap. Happy for your suggestions.
- where => filter
- select => map
- select_many
- skip => skip
- skip_while => skip_while
- take => take
- take_while => take_while
- join
- group_join
- concate => chain
- order_by
- order_by_descending
- then_by
- then_by_descending
- reverse => rev
- group_by
- distinct
- union
- intersect
- except
- first => next
- single
- element_at => nth
- all => all
- any => any
- contains
- count => count
- sum
- min
- max
- average
- aggregate
Development
We need more unit-test samples. If you have any ideas, open issues to tell us.