Class: UuidV7::Types::SqliteType

Inherits:
Base
  • Object
show all
Defined in:
lib/uuid_v7/types/sqlite_type.rb

Instance Method Summary collapse

Methods inherited from Base

#cast, #serialize, #type

Instance Method Details

#deserialize(value) ⇒ Object

SQLite does not return binary data, it returns a String, no need to unpack it.



9
10
11
12
13
# File 'lib/uuid_v7/types/sqlite_type.rb', line 9

def deserialize(value)
  return unless value

  cast(value)
end