Class Sequel::SQL::Blob
In: lib/sequel/deprecated.rb
lib/sequel/sql.rb
Parent: Object

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 certain database engines require binary data to be escaped.

Methods

Public Instance methods

[Source]

     # File lib/sequel/deprecated.rb, line 295
295:       def to_blob(*args)
296:         Sequel::Deprecation.deprecate('Sequel::SQL::Blob#to_blob', 'Use Sequel::SQL::Blob#to_sequel_blob')
297:         to_sequel_blob(*args)
298:       end

Returns self

[Source]

     # File lib/sequel/sql.rb, line 395
395:       def to_sequel_blob
396:         self
397:       end

[Validate]