RubyGems Navigation menu

associate_jsonb 6.1.4.1.1

This gem extends ActiveRecord to add additional functionality to JSONB - use PostgreSQL JSONB data for associations - thread-safe single-key updates to JSONB columns using `jsonb_set` - extended `table#references` for easy migrations and indexes - virtual JSONB foreign keys using check constraints (NOTE: real foreign key constraints are not possible with PostgreSQL JSONB) Inspired by activerecord-jsonb-associations, but for use in Rails 6+ and ruby 2.7+ and with some unnecessary options and features (HABTM) removed and some additional features added

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 6.1.4.1.1 - September 19, 2021 (20.5 KB)
  2. 0.0.10 - September 24, 2020 (20.0 KB)
  3. 0.0.9 - August 13, 2020 (19.5 KB)
  4. 0.0.8 - August 12, 2020 (19.5 KB)
  5. 0.0.7 - August 04, 2020 (20.0 KB)
显示所有版本 (共 11 个)

Runtime 依赖 (4):

mutex_m ~> 0.1, >= 0.1.0
pg ~> 1.1, >= 1.1.2
rails ~> 6.1.4, >= 6.1.4.1
zeitwerk ~> 2, >= 2.2.2

Development 依赖 (1):

rspec ~> 3.9

业主:

推送:

作者:

  • Sampson Crowley

SHA 256 校验和:

977b123afac420f0fb80073da8f8db7fbc305857f96808f12c53efad20aec003

下载总量 16,004

这个版本 1,849

许可:

MIT

需要的 Ruby 版本: >= 2.7

链接: