module Onyx::SQL::Converters::PG::JSONB(T)


Converts between the PostgreSQL's "JSONB" type and Crystal objects. It works the same way as the JSON converter does, but with "JSONB" type.

OPTIMIZE Refactor to extend the JSON module. Currently impossible due to

Defined in:


Class Method Summary

Class Method Detail

def self.from_rs(rs : DB::ResultSet) : T? #

[View source]
def self.from_rs_array(rs) : T? #

[View source]
def self.to_db(value : T) : DB::Any #

[View source]