RubyGems Navigation menu

appquery 0.7.0.rc5

Improving introspection and testability of raw SQL queries in Rails This gem improves introspection and testability of raw SQL queries in Rails by: - ...providing a separate query-folder and easy instantiation A query like `AppQuery[:some_query]` is read from app/queries/some_query.sql. - ...providing options for rewriting a query: Query a CTE by replacing the select: query.select_all(select: "select * from some_cte").entries ...similarly, query the end result (i.e. CTE `_`): query.select_all(select: "select count(*) from _").entries - ...providing (custom) casting: AppQuery("select array[1,2]").select_value(cast: true) custom deserializers: AppQuery("select '1' id").select_all(cast: {"id" => ActiveRecord::Type::Integer.new}).entries - ...providing spec-helpers and generators

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.8.0 January 14, 2026 (46KB)
  2. 0.8.0.rc3 January 14, 2026 (44KB)
  3. 0.8.0.rc2 January 14, 2026 (44KB)
  4. 0.8.0.rc1 January 14, 2026 (44KB)
  5. 0.7.0 January 08, 2026 (38.5KB)
  6. 0.7.0.rc5 January 08, 2026 (38.5KB)
全てのバージョンを表示(全24件)

Development依存関係 (1):

appraisal >= 0

所有者:

プッシュ者:

GitHub

作者:

  • Gert Goet

SHA 256チェックサム:

=

来歴:

Built and signed on

GitHub Actions

Build summary

累計ダウンロード数 5,405

このバージョンのみ 100

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.2.0

リンク: