Categories: None [Edit]
jsonapi-query_builder
`Jsonapi::QueryBuilder` serves the purpose of adding the json api query related SQL conditions to the already scoped collection, usually used in controller index actions.
With the query builder we can easily define logic for query filters, attributes by which we can sort, and delegate pagination parameters to the underlying paginator. Included relationships are automatically included via the `ActiveRecord::QueryMethods#includes`, to prevent N+1 query problems.
Total
Ranking: 43,178 of 189,679
Downloads: 27,623
Daily
Ranking: 17,510 of 189,654
Downloads: 20
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 67,299 | 15,062 | infinum_json_api_setup |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,196,772,394 | bundler |
| 9 | 1,239,375,295 | rake |
| 29 | 951,539,742 | rspec |
| 36 | 754,434,487 | activerecord |
| 36 | 754,434,487 | activerecord |
| 74 | 578,504,040 | pry |
| 188 | 256,847,304 | rubocop-rspec |
| 196 | 246,731,970 | kaminari |
| 277 | 173,462,538 | sqlite3 |
| 384 | 122,447,784 | bundler-audit |
| 1,104 | 41,432,186 | standard |
| 1,291 | 33,852,718 | pagy |
| 2,584 | 7,443,281 | lefthook |
| 4,720 | 1,663,322 | standardrb |