RubyGems Navigation menu

appquery 0.6.0.rc8

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.6.0 January 02, 2026 (32.0 KB)
  2. 0.6.0.rc9 January 02, 2026 (31.5 KB)
  3. 0.6.0.rc8 January 02, 2026 (31.5 KB)
  4. 0.6.0.rc7 January 02, 2026 (31.5 KB)
  5. 0.6.0.rc5 January 01, 2026 (31.5 KB)
显示所有版本 (共 13 个)

Development 依赖 (1):

appraisal >= 0

所有者:

推送者:

GitHub

作者:

  • Gert Goet

SHA 256 校验和:

=

Provenance:

Built and signed on

GitHub Actions

Build summary

下载总量 4,159

这个版本 76

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.2.0

链接: