Sha256: ef7231c86890223303cc9665f785575de0aaac959957bd5aabaef6057432f6d6
Contents?: true
Size: 570 Bytes
Versions: 58
Compression:
Stored size: 570 Bytes
Contents
class FixedSchemaAdapter < SourceAdapter def initialize(source) super(source) end def query(params=nil) @result = Store.get_data('test_db_storage') end def schema { 'version' => '1.0', 'property' => { 'name' => 'string', 'brand' => 'string', 'price' => 'string', 'image_url_cropped' => 'blob,overwrite', 'image_url' => 'blob' }, 'index' => { 'by_name_brand' => 'name,brand' }, 'unique_index' => { 'by_price' => 'price' } }.to_json end end
Version data entries
58 entries across 58 versions & 1 rubygems