Sha256: 8fad32b4a45280c7fd4bac6810296bd32f1fc32e5ca2ff7a94b1fb54bba0a851

Contents?: true

Size: 441 Bytes

Versions: 6

Compression:

Stored size: 441 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

      def self.Definition(*args, &block)
        ROM::Types.Definition(*args, &block)
      end

      Serial = Int.meta(primary_key: true)

      Blob = Constructor(Sequel::SQL::Blob, &Sequel::SQL::Blob.method(:new))

      Void = Nil
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rom-sql-1.3.5 lib/rom/sql/types.rb
rom-sql-1.3.4 lib/rom/sql/types.rb
rom-sql-2.0.0.beta2 lib/rom/sql/types.rb
rom-sql-2.0.0.beta1 lib/rom/sql/types.rb
rom-sql-1.3.3 lib/rom/sql/types.rb
rom-sql-1.3.2 lib/rom/sql/types.rb