RubyGems Navigation menu

jsonapi-query_builder 0.1.6.pre

`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.5KB)
  2. 0.2.1 - October 04, 2021 (16.5KB)
  3. 0.2.0 - September 29, 2021 (16.5KB)
  4. 0.1.9 - May 07, 2021 (14.5KB)
  5. 0.1.8 - January 25, 2021 (14.5KB)
  6. 0.1.6.pre - September 01, 2020 (11.5KB)
全てのバージョンを表示(全9件)

Runtime依存関係 (2):

activerecord >= 5, <= 6.1
pagy ~> 3.5

Development依存関係 (6):

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

所有者:

プッシュ者:

作者:

  • Jure Cindro

SHA 256チェックサム:

77a737c573192095b34cefb9cd5aa3c3241dbec2b4cde178fba2239ca1405adb

累計ダウンロード数 20,725

このバージョンのみ 1,597

ライセンス:

MIT

必要なRubyのバージョン: ~> 2.5

必要なRubyGemsのバージョン: > 1.3.1

リンク: