Method: String#to_sequel_blob

Defined in:
lib/sequel/extensions/core_extensions.rb

#to_sequel_blobObject

Returns a Sequel::SQL::Blob that holds the same data as this string. Blobs provide proper escaping of binary data.



190
191
192
# File 'lib/sequel/extensions/core_extensions.rb', line 190

def to_sequel_blob
  ::Sequel::SQL::Blob.new(self)
end