Sha256: 2c61e48db9f0f1e2f32176053529c360cb3b0ef5ded9d854d7129af753965d74
Contents?: true
Size: 326 Bytes
Versions: 2
Compression:
Stored size: 326 Bytes
Contents
require 'rom/types' module ROM module SQL module Types include ROM::Types def self.Constructor(*args, &block) ROM::Types.Constructor(*args, &block) end Serial = Int.meta(primary_key: true) Blob = Constructor(Sequel::SQL::Blob, &Sequel::SQL::Blob.method(:new)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rom-sql-1.0.0 | lib/rom/sql/types.rb |
rom-sql-1.0.0.rc2 | lib/rom/sql/types.rb |