-
Notifications
You must be signed in to change notification settings - Fork 9
Home
autoaffection edited this page Jun 12, 2020
·
12 revisions
Schema-free, structured storage inside a Relational Database Management System (RDBMS). Use a VARCHAR
, TEXT
, CLOB
, BLOB
, or BINARY
column in your schema to store structured data in JSON, while still letting you run validations against that data, build methods on top of it, and automatically delegate it to your models. Far more powerful than ActiveRecord's built-in serialization mechanism, flex_columns
gives you the freedom of databases without schemas inside a proven RDBMS.
- Why use
flex_columns
? What does it do? - What
flex_columns
is NOT good for - Introduction: installation, usage, migrating existing JSON columns
- Data Control: using validations, using "types", ways you can access data, column compression, JSON aliases, unknown JSON keys, column NULLability, when JSON is written, Change Detection
- Method Semantics: defining custom methods, overriding methods, controlling method delegation, making methods private, including columns across tables
- API: bulk operations, notifications
- Support Matrix, Running Specs