class Sequel::SQL::Blob

  1. lib/sequel/sql.rb
Parent: SQL

Blob is used to represent binary data in the Ruby environment that is stored as a blob type in the database. Sequel represents binary data as a Blob object because most database engines require binary data to be escaped differently than regular strings.

Methods

Public Instance

  1. to_sequel_blob

Public Instance methods

to_sequel_blob ()

Returns self, used so that Blobs don't get wrapped in multiple levels.

[show source]
# File lib/sequel/sql.rb, line 857
def to_sequel_blob
  self
end