muze-nl / jaqt

GraphQL-style Array.select() and Array.where() for javascript
MIT License
229 stars 9 forks source link

Missing result in documentation. #8

Open Hoxolotl opened 2 months ago

Hoxolotl commented 2 months ago

Result missing in https://github.com/muze-nl/jaqt/blob/main/docs/manual.md for:

You can also order by values that are not in your select statement. Do this by first ordering and then selecting values:

result = from(data.people)
.orderBy({
    metrics: {
        height: asc
    }
})
.select({
    name: _
})
poef commented 1 month ago

Happy to accept patches :)