Class: Sequel::SQL::Blob

Class | Sequel::SQL::Blob
In: | lib/sequel_core/sql.rb
Parent: | ::String

Blob is used to represent binary data in the Ruby environment that is stored as a blob type in the database. In PostgreSQL, the blob type is called bytea. Sequel represents binary data as a Blob object because certain database engines, such as PostgreSQL, require binary data to be escaped.

### Methods

to_blob

### Public Instance methods

to_blob()

return self.

[Source]

         # File lib/sequel_core/sql.rb, line 426
    426:       def to_blob
    427:         self
    428:       end

[Validate]