shioyama/mobility

View on GitHub
lib/mobility/backends/jsonb.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Mobility
  module Backends
=begin

Stores translations as hash on Postgres jsonb column.

==Backend Options

===+column_prefix+ and +column_suffix+

Prefix and suffix to add to attribute name to generate jsonb column name.

@see Mobility::Backends::ActiveRecord::Jsonb
@see Mobility::Backends::Sequel::Jsonb
@see https://www.postgresql.org/docs/current/static/datatype-json.html PostgreSQL Documentation for JSON Types

=end
    module Jsonb
    end
  end
end