RubyGems Navigation menu

jsonapi-query_builder 0.1.9

`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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  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)
显示所有版本 (共 9 个)

Runtime 依赖 (2):

pagy ~> 3.5

Development 依赖 (7):

bundler ~> 2.0
lefthook >= 0
rake ~> 13.0
rspec ~> 3.0
standard >= 0
standardrb >= 0

业主:

推送:

作者:

  • Jure Cindro

SHA 256 校验和:

4086c87151fc84c2de1a1e82ac63e79a84ab391990f9493df435bb9664eac23a

下载总量 20,699

这个版本 2,985

许可:

MIT

需要的 Ruby 版本: >= 2.5

链接: