RubyGems Navigation menu

jsonapi-query_builder 0.3.0

`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.

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 0.3.0 - December 07, 2021 (16,5 KB)
  2. 0.2.1 - October 04, 2021 (16,5 KB)
  3. 0.2.0 - September 29, 2021 (16,5 KB)
  4. 0.1.9 - May 07, 2021 (14,5 KB)
  5. 0.1.8 - January 25, 2021 (14,5 KB)
Toon alle versies (9 totaal)

Runtime afhankelijkheden (2):

pagy >= 3.5

Development afhankelijkheden (12):

bundler ~> 2.0
kaminari ~> 1.2
lefthook >= 0
pry >= 0
rake ~> 13.0
rspec ~> 3.0
sqlite3 >= 0
standard >= 0
standardrb >= 0

Eigenaren:

Pushed by:

Authors:

  • Jure Cindro

SHA 256 checksum:

f56a1ffc742ad62ba05baffb7e089b0190bb8fe6c0f8ee7ef3165ef08e3dca47

Total downloads 20.701

Voor deze versie 7.731

Licentie:

MIT

Required Ruby Version: >= 2.5

Links: