`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.
Required Ruby Version
>= 2.5, <= 3.0
Authors
Jure Cindro
Versions
-
0.4.0
-
source
- 0.4.0 source November 03, 2025 (18 KB)
-
-
0.3.0
-
source
- 0.3.0 source December 07, 2021 (16.5 KB)
-
-
0.2.1
-
source
- 0.2.1 source October 04, 2021 (16.5 KB)
-
-
0.2.0
-
source
- 0.2.0 source September 29, 2021 (16.5 KB)
-
-
0.1.9
-
source
- 0.1.9 source May 07, 2021 (14.5 KB)
-
-
0.1.8
-
source
- 0.1.8 source January 25, 2021 (14.5 KB)
-